therealcarlx Posted October 25, 2019 Share Posted October 25, 2019 I'm using the Harris template for my website, and I'd like for the header at the top to stay in place when scrolling down the content of the page. Is there a simple customization I can add to make that happen? Thanks in advance for any help! Link to comment
tuanphan Posted October 26, 2019 Share Posted October 26, 2019 @therealcarlx Add to Home > Design > Custom CSS header#header { position: sticky; top: 0; background: #f2f2f2; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
therealcarlx Posted October 29, 2019 Author Share Posted October 29, 2019 Perfect! Thanks so much! Link to comment
therealcarlx Posted October 29, 2019 Author Share Posted October 29, 2019 After freezing the header, I think I'd also like to freeze the banner on each page. Is there a fairly straightforward way to do that? Again...many, many thanks! Link to comment
ML98 Posted May 4, 2022 Share Posted May 4, 2022 On 10/26/2019 at 8:32 AM, tuanphan said: @therealcarlx Add to Home > Design > Custom CSS header#header { position: sticky; top: 0; background: #f2f2f2; } With a sticky header, how can you make the color of that entire bar change whenever it scrolls off the very top of the webpage? Link to comment
tuanphan Posted May 8, 2022 Share Posted May 8, 2022 On 5/5/2022 at 2:47 AM, ML98 said: With a sticky header, how can you make the color of that entire bar change whenever it scrolls off the very top of the webpage? Hi, This will require JavaScript code. If you use a Business Plan or higher, please share link to your site, we can give code easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment