Support » Fixing WordPress » Tabs from navbar

  • I can’t solve the problem (almost there) to navigate tabs in section from navbar instead from tab bar (from tabs).

    So, for now, I test that on localhost, one page site and focus is on Tab 2 (tabs are still visible as for now is just test).

    I have set Tab section with 4 tabs (works all from tabs navigation) and code is:

    `<div class=”et_pb_column et_pb_column_2_3 et_pb_column_1″>
    <div id=”myheadtabs-1″ class=”et_pb_module et_pb_tabs myheadtabs et_pb_tabs_0″>
    <ul class=”et_pb_tabs_controls clearfix”>
    <li class=”et_pb_tab_0 et_pb_tab_active”><a href=”#”>TAB 1</a></li><li class=”et_pb_tab_1″><a href=”#”>TAB 2</a></li><li class=”et_pb_tab_2″><a href=”#”>TAB 3</a></li><li class=”et_pb_tab_3″><a href=”#”>TAB 4</a></li>
    </ul>
    <div class=”et_pb_all_tabs”>
    <div class=”et_pb_tab clearfix et_pb_active_content et_pb_tab_0 et-pb-active-slide”>

    <table width=”100%” cellspacing=”0″ cellpadding=”0″>
    <colgroup>
    <col width=”128*”>
    <col width=”128*”> </colgroup>
    <tbody>`

    From top primary navigation bar menu when I first scroll down and than click on top menu “TAB 2” (I use for test just that tab), I’m correctly going back to tabs section but not in TAB 2 (so, from menu not working tab switch) and in menu I have like follow:

    `<div id=”et-top-navigation” style=”padding-left: 30px;”>
    <nav id=”top-menu-nav”>
    <ul id=”top-menu” class=”nav et_disable_top_tier”><li id=”menu-item-10278″ class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-10278″><a href=”http://localhost:8080/wordpress/ttt”>TAB 1</a></li>
    <li id=”menu-item-10279″ class=”et_pb_module et_pb_tabs myheadtabs et_pb_tabs_0 et_pb_tab_1 menu-item menu-item-type-custom menu-item-object-custom menu-item-10279″><a href=”#”>TAB 2</a></li>
    <li id=”menu-item-10280″ class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-10280″><a href=”#”>TAB 3</a></li>
    <li id=”menu-item-10281″ class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-10281″><a href=”#”>TAB 4</a></li>
    </ul>`

    WHAT I MISS TO GET OPEN SECOND TAB DIRECTLY FROM MENU?

    Thanks!

  • The topic ‘Tabs from navbar’ is closed to new replies.