Archived topic
How to change postion of Back to Top on one page only
3 replies · Started by Lindsay on June 6, 2022
Google's recaptcha is in the same position on my Find Us page.
I can see here how to move the button, but how do I do this for a single page only.
Many thanks.
Hi Lindsay,
Edit the CSS to this:
body.page-id-xxx .generate-back-to-top,
body.page-id-xxx .generate-back-to-top:visited {
bottom: 30px; /* 30px from the bottom of your screen */
left: 30px; /* 30px from the left of your screen */
}
And replace xxx in body.page-id-xxx with the actual page ID.
Adding CSS: https://docs.generatepress.com/article/adding-css/
I can identify the page ID and provide the full CSS if you want to link me to the page in question as well.
Let me know :)
No that's great I can do the rest.
Not sure why I didn't think of CSS - was too focused on it being a php solution :).
Fantastic support - thanks.
No problem :)