pleni Posted May 13, 2022 Share Posted May 13, 2022 Site URL: http://plenitudpr.org Hi there, I would like one button from our navigation and our logo to remain fixed at the top of the screen when you scroll on the site. A perfect example of this is in charitywater.org. This is the nav for their website before scrolling: This is the nav once you begin scrolling: I would like to be able to do that with our site as well and also with our donate button. Thank you! Link to comment
tuanphan Posted May 15, 2022 Share Posted May 15, 2022 Hi, Fixed button only or fixed header with solid background + Logo + button? pleni 1 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
pleni Posted May 18, 2022 Author Share Posted May 18, 2022 Hmm. I guess I would say a fixed narrow bar (just enough to give button some padding on top and bottom) with solid background + logo + button. Link to comment
tuanphan Posted May 20, 2022 Share Posted May 20, 2022 On 5/19/2022 at 12:16 AM, pleni said: Hmm. I guess I would say a fixed narrow bar (just enough to give button some padding on top and bottom) with solid background + logo + button. Try adding to Design > Custom CSS header.Header.Header--top { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; } main.Index { margin-top: 50px; } 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
pleni Posted May 26, 2022 Author Share Posted May 26, 2022 On 5/20/2022 at 12:16 PM, tuanphan said: Try adding to Design > Custom CSS header.Header.Header--top { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; } main.Index { margin-top: 50px; } Hi there! Thank you! I just tried adding it to the site but it didn't work. 😕 Any other thoughts? Link to comment
tuanphan Posted May 27, 2022 Share Posted May 27, 2022 11 hours ago, pleni said: Hi there! Thank you! I just tried adding it to the site but it didn't work. 😕 Any other thoughts? I see the code works here. What should header look like in your mind? 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
pleni Posted June 15, 2022 Author Share Posted June 15, 2022 On 5/27/2022 at 7:14 AM, tuanphan said: I see the code works here. What should header look like in your mind? Hi there! It should look like the navigation that shows up when you start to scroll down on charitywater.org Link to comment
tuanphan Posted June 16, 2022 Share Posted June 16, 2022 On 5/27/2022 at 6:50 AM, pleni said: Hi there! Thank you! I just tried adding it to the site but it didn't work. 😕 Any other thoughts? Can you add & keep the code? We will checking it again 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