add head:
<script>
$(function() {
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});
</script>
can any one tell me where or in which file the following script is to add.
Hello pushkar,
You can use this plugin to activate smooth scrolling: https://wordpress.org/plugins/jquery-smooth-scroll/
Regards,
Marius
thanks marius_codeinwp its working now.
Thanks again.
Hi,
This is a very nice theme, simple and plain.
How do you link menu items to sections of the page?
Thank you
I have the same question. How do I link menu items to sections of the page? http://www.shlikas.com
Hi Edward,
This link in the documentation helped me
All the best.
i am using zerif pro.
i want to add one more section to front page. just a linked image.
How can i do it?
Please explain in detail
i am using zerif pro.
i want to add one more section to front page. just a linked image.
How can i do it?
Please explain in detail