Support » Plugin: Tabs » Clicking a tab sends page back to top

  • Resolved simonc1

    (@simonc1)


    Hi

    Everytime i choose a tab on my site, it shoots straight back up to the top of the page and must be scrolled back down to to see the wanted content.

    The 2 tabs widgets were working fine before (steps 3 snd 4 in the “Learn with us” section).

    Please help.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support lokeshkalosiya

    (@lokeshkalosiya)

    Hi @simonc1,

    You need some changes to fix this issue. Please follow the below steps.
    Go to Plugin directory -> Tabs Responsive -> template -> open content.php file.
    Go to line number 83.
    replace below code

    <a href="#tabs_desc_<?php echo $post_id; ?>_<?php echo $i; ?>" aria-controls="tabs_desc_<?php echo $post_id; ?>_<?php echo $i; ?>" role="tab" data-toggle="tab">

    to

    <a href="javascript:void(0);" data-target="#tabs_desc_<?php echo $post_id; ?>_<?php echo $i; ?>" aria-controls="tabs_desc_<?php echo $post_id; ?>_<?php echo $i; ?>" role="tab" data-toggle="tab" aria-expanded="true">

    if it works or not please let us know

    Thank you

    Thread Starter simonc1

    (@simonc1)

    That seems to have done the trick and fixed it sir, thank you for your help.

    However won’t this change be cleared from my side when the app is next updated?

    Plugin Support lokeshkalosiya

    (@lokeshkalosiya)

    Hi @simonc1,

    We will resolve this issue in our next update. Till then you can use the above solution.

    Thank you

    Thread Starter simonc1

    (@simonc1)

    Thanks for your help

    Plugin Support lokeshkalosiya

    (@lokeshkalosiya)

    Hi @simonc1,

    Glad That your issue has been resolve if you like our plugin please rate us.

    Thank you

    Thread Starter simonc1

    (@simonc1)

    I was disappointed to find that this issue was not fixed in the recent update and i had to reapply this fix for it to work (but for line 82 this time). Please ensure the developer knows to include this in their next update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.