Selecting default tab no longer works?

2 replies · opened Jan 18, 2019

VvoidnadamasJan 18, 2019

I am trying to select the default tab. http://support.semicolonweb.com/forums/topic/selecting-specific-tab-on-page-load/ doesn't seem to work:

      <ul class="tab-nav clearfix">
        <li><a href="#tab-1">Tab 1</a></li>
        <li><a href="#tab-2">Tab 2</a></li>
        <li><a href="#tab-3">Tab 3</a></li>
      </ul>
      <div class="tab-container">
        <div class="tab-content clearfix" id="tab-1">
          Tab Content 1
        </div>
        <div class="tab-content clearfix" id="tab-2">
          Tab Content 2
        </div>
        <div class="tab-content clearfix" id="tab-3">
          Tab Content 3
        </div>
      </div>
    </div>```

It always selects the last tab. However, I've noticed in your documentation that the first is always selected while mine the last gets selected. http://themes.semicolonweb.com/html/canvas/tabs.html.
VvoidnadamasJan 18, 2019

not sure if there is a way to do this...

SSemicolon WebSTAFFJan 22, 2019

Hello,

We have checked out your Our Demos and the Default Tab Selection appears to be working fine for us. Can you please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard