elko Posted August 25, 2021 Share Posted August 25, 2021 Site URL: https://www.sheerdesign.co.nz Hi, I'm wanting to hide the header logo on a homepage, but have it appear when the viewer scrolls. I currently have it hidden, but can't find the right code to make it visible on scroll (maybe using a 'showOnScrollWrapper.show' command?). In short, I want it to appear when the header background becomes visible. The current code I'm using is: .homepage .header-title-logo { visibility: hidden; } Link to comment
tuanphan Posted August 27, 2021 Share Posted August 27, 2021 Edit your code to this .homepage header#header:not(.shrink) .header-title-logo { visibility: hidden; } 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
jjk291 Posted March 31, 2023 Share Posted March 31, 2023 Hi!! is there an update to this code for 7.1. Also would like it to slowly fade in while scrolling. Much appreciated!!! Link to comment
tuanphan Posted April 5, 2023 Share Posted April 5, 2023 On 3/31/2023 at 11:36 AM, jjk291 said: Hi!! is there an update to this code for 7.1. Also would like it to slowly fade in while scrolling. Much appreciated!!! Above code for 7.1. If it doesn't work, please share link to your site 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