Archived topic
how to edit wordpress html source
12 replies · Started by david on May 7, 2019
Hi,
I need to place
Thanks for any help
David
Hi there,
if you want to insert some code somewhere then the best way is to use the Hook Element:
https://docs.generatepress.com/article/hooks-element-overview/
If you want the element to be inserted at the very top of the page then the before_header hook is the highest.
May i ask what the anchor is for?
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?
Thanks
David
Have you tried this?
https://docs.generatepress.com/article/back-to-top-button/
Let me know :)
Thanks Leo, perfect.
Don't know these little nuggets exist, until you ask - the right person!
Hi, was thinking, be nice to have a GeneratePress cheat sheet so you could see all these hidden nuggets at a glance.
That's what the documentation is for:
https://docs.generatepress.com/
Glad I could help :)
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.
I'm not sure what the cheat sheet should include as every user is looking for and missing different features.
We are always happy to help here in the forum on though :)
Maybe start with listing all the menu / sub-menu items in one document:
Customization > Layout > Footer > Back to top button
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.
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
David
That's not possible, unfortunately :(
All the possible adjustments are listed in the doc page above.