When clicking on a book here
http://buechergildehamburg.de/fachbuch/
the single product page jumps to an anchor #tab-description
How to remove this, so that the page opens normally?
Thank you!
When clicking on a book here
http://buechergildehamburg.de/fachbuch/
the single product page jumps to an anchor #tab-description
How to remove this, so that the page opens normally?
Thank you!
Hello,
Open your footer.php and place this code above the </body> tag.
<script type="text/javascript">
jQuery.noConflict();
setTimeout(function() {
if(location.hash) {
window.scrollTo(0, 0);
}
}, 1);
</script>
Regards,
Ismael
Hi Ismael
I did embed this in the footer.php here:
<?php
/* Always have wp_footer() just before the closing </body>
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
avia_option('analytics', false, true, true);
wp_footer();
?>
<script type="text/javascript">
jQuery.noConflict();
setTimeout(function() {
if(location.hash) {
window.scrollTo(0, 0);
}
}, 1);
</script>
</body>
</html>
but it did not make a change, so I removed it again.
Hi Bikul,
Please read this thread.
http://www.kriesi.at/support/topic/product-pages-jump-automatically-to-tab-attributes
Regards,
Mya
You must log in to post.