Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #840579

    Hi,
    I am using ‘Tab Section‘ element in our homepage (link in private box), as illustrated below:
    .

    When I navigate through the tabs, after three to five times clicks on those tabs, the page scrolled up automatically. How can I prevent it?

    Thanks,
    Sadegh

    #841290

    Hey Sadegh,

    Thank you, for coming back.

    Sorry, but this is a known issue and will be fixed in the next update.

    Meanwhile please update in file enfold\config-templatebuilder\avia-shortcodes\tab_section.php around line 451 you find the code

    
    $tab_link = AviaHelper::save_string($tab_title,'-');
    

    and replace with:

    
    $tab_link = AviaHelper::save_string($tab_title,'-');
    if( empty($tab_link)) $tab_link = 'av-tab-section-' . avia_sc_tab_section::$count . '-' . $i;
    

    This should fix the issue.

    Best regards,
    Günter

    • This reply was modified 7 years, 3 months ago by Günter.
    #841307

    Hi Gunter,
    Thanks for the code, it fixed the issue.

    (you may now close the thread please)

    Have a nice day
    Sadegh

    #841362

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Tab Section Automatically Scrolled Up the Page’ is closed to new replies.