Archived topic
Homepage Scroll-down Button Issues
3 replies · Started by Suzanna on March 25, 2020
Hello,
I recently changed the homepage of my website from a featured image to a video. I've finally got it the way I want it, except that when I got the site title/tagline and read-more tag moved to the center of the video, the button ID that came with the site (I downloaded a GP Premium demo base model) undid itself. For a while it was just a line of text that said "Discover"
I've managed to put in a button format using the Home Header in Elements with these instructions: https://docs.generatepress.com/article/adding-buttons/
But I can't get the anchor link to the next section of the homepage right. Right now the button basically just refreshes the site. Also, the button color is right, but the text is blue, rather than the white that I customized all my buttons to be...I thought.
Advice? Please?
Hi there,
use this HTML for your button element:
<a class="button smooth-scroll" href="#intro">DISCOVER</a>
This will jump to first section that has an ID of intro
In the Header Element - there is a color option for Link - change this to white
Perfect! Everything is exactly the way I wanted it. Thank you once again :)
Glad to be of help