I'm using the latest version of your theme. I have tabs positioned toward the bottom of the page.
Every time I click a tab, the screen jumps toward the top.
How can I prevent this from happening?
Here is a demo link:
6 replies · opened Mar 6, 2017
I'm using the latest version of your theme. I have tabs positioned toward the bottom of the page.
Every time I click a tab, the screen jumps toward the top.
How can I prevent this from happening?
Here is a demo link:
Dirty fix is to give the
.tab-container {
/fix page jumping when clicking on tabs/
min-height: 440px;
}
Can you please come up with something more proper?
Thank you!
Hello,
Please consider adding the onclick="return false;" Attribute to the <a> Tag of the Tab Navs.
This should definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Unfortunately I have the same problem and "onclick" doesn't solve it.
Here is my code:
- [Tab 1](#tab1)
- [Tab 2](#tab2)
- [Tab 3](#tab3)
- [Tab 4](#tab4)
Tab 1
Tab 2
Tab 3
Tab 4
Every time I click a tab the screen scrolls up so that the tab is on top of the page.
Any advise how to fix this? Thanks!
Sebastian
This is caused by a 3rd party script that I use on my site. Nothing you can do here.
Have the same problem.
Tried this. Does not change anything.
Hello,
Consider using the following code:
$(".tabs ul li").on( 'click', 'a', function(e){
e.preventDefault();
return false;
});Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard