Support » Plugin: Tabs » Automatic scroll-up when I click on all tabs

  • Resolved chalaf

    (@chalaf)


    Hi there,

    I used your pluggin to change the layout on of our page. Here is the password protected page (PW: wptest): http://www.furniturebank.org/furniture-pickup-request-form/

    My problem is that every time I click on a tab the page scrolls a little upward. Which force the viewer to scroll back down to see the tab content… Is there a way to make it fixed?

    We use the following theme: Enfold version 3.8 (http://www.kriesi.at/themes/enfold/)

    I looked through the forum and could not find any solved topics around that issue. Can someone point me in the right direction?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wpshopmart

    (@wpshopmart)

    HI,

    Follow my steps here to resolve this issue –

    Step-1 : Open plugin directory and then open tabs-responsive plugin folder.

    Step-2 : Now open template folder here. In template folder you will see a file name is content.php , open it on any editor

    Step-3 : GO to near line 83 and then find below code there –

    <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">

    Step-4 : Replace it with code –

    <a class="no-scroll" 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">

    Step-5 : Save your code and then check your tab page.

    Tyr it and then let me know

    Thread Starter chalaf

    (@chalaf)

    Hi @wpshopmart,

    It worked!

    Thanks for the quick support.

    Plugin Author wpshopmart

    (@wpshopmart)

    You are welcome.

    Rate this plugin if you like this tab plugin.

    Thanks

    Hi nice plugin, but same problem as above

    I have posted the code, but its not working, changed tab colors to check im not being served cache

    Testing it on an iPhone 6

    Any suggestions ta.

    Plugin Author wpshopmart

    (@wpshopmart)

    Can you please share me your tab page url?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Automatic scroll-up when I click on all tabs’ is closed to new replies.