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
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
Hi Gunter,
Thanks for the code, it fixed the issue.
(you may now close the thread please)
Have a nice day
Sadegh