- This topic has 12 replies, 3 voices, and was last updated 1 year, 5 months ago by Leo.
May 7, 2019 at 12:23 pm #892164david
I need to placein the header area to act as a top of page anchor, how can I access the html source code to do this.
Thanks for any help
DavidMay 7, 2019 at 12:51 pm #892187DavidStaffCustomer Support
if you want to insert some code somewhere then the best way is to use the Hook Element:
If you want the element to be inserted at the very top of the page then the
before_headerhook is the highest.
May i ask what the anchor is for?May 7, 2019 at 1:51 pm #892229david
Hi David, Thanks for your reply.
At the bottom of the page I want a sticky clickable to return me to the top of the page, any advice appreciated, for instance I want a sticky clickable area to appear only after the user’s scrolled past the first screen full – any ideas?
DavidMay 7, 2019 at 3:50 pm #892288LeoStaffCustomer Support
Have you tried this?
Let me know 🙂May 7, 2019 at 11:16 pm #892468david
Thanks Leo, perfect.
Don’t know these little nuggets exist, until you ask – the right person!May 8, 2019 at 12:31 am #892512david
Hi, was thinking, be nice to have a GeneratePress cheat sheet so you could see all these hidden nuggets at a glance.May 8, 2019 at 7:39 am #892957LeoStaffCustomer SupportMay 8, 2019 at 9:55 am #893156david
Hi Leo, Think there’s a difference between documentation and cheat sheet, I wouldn’t have found “Back to top button” in the documentation if I wasn’t aware of its existence.May 8, 2019 at 9:57 am #893169LeoStaffCustomer SupportMay 8, 2019 at 10:06 am #893181david
Maybe start with listing all the menu / sub-menu items in one document:
Customization > Layout > Footer > Back to top buttonMay 8, 2019 at 10:31 am #893209LeoStaffCustomer Support
Thanks for your suggestions 🙂
We will definitely consider it if this request comes up more often.
For now, if there are any features you are wondering about, we are happy to help here in this forum.May 8, 2019 at 1:36 pm #893370david
Would it be possible to specify a position to scroll up to that was before the page header.
My header includes an image then a sticky menu bar, like to scroll up so only the menu bar appears at the top and the image remains hidden.
Thanks for your help
DavidMay 8, 2019 at 1:41 pm #893383
- You must be logged in to reply to this topic.