anchor on header position
- GK User
- Sat May 27, 2017 11:32 pm
Hey huys,
I'm redoing my anchors but i would like that the home page button did a scroll up to the header position instead of reloading the page.
However, In anchors, in template configuration, there's no header position to select.
How can i do this?
Thanks
I'm redoing my anchors but i would like that the home page button did a scroll up to the header position instead of reloading the page.
However, In anchors, in template configuration, there's no header position to select.
How can i do this?
Thanks
-
- Senior Boarder
- teitbite
- Fri Jun 02, 2017 1:00 pm
Hi
You would need to make another Home menu element and hide the previous one. This new one would need to be an External Link type and called #home.
Next step would be to edit /layouts/default.php and right under the <body> starting tag You need to add:
You would need to make another Home menu element and hide the previous one. This new one would need to be an External Link type and called #home.
Next step would be to edit /layouts/default.php and right under the <body> starting tag You need to add:
- Code: Select all
<div id="home"></div>
-
- Moderator
2 posts
• Page 1 of 1