ClaireJames Posted July 11, 2022 Posted July 11, 2022 Site URL: https://orange-chicken-3kkp.squarespace.com/config/settings/site-visibilityHi everyone, Site pw is kellyrossdesign I am trying to make the header logo on the homepage slowly appear on scroll. I have used the code below via @44degreesnorth . It worked perfectly and was looking beautiful, but it seems to have stopped working now for some reason. I've tried removing any new CSS that I have added today but that doesn't seem to have made a difference... Any ideas? .header-title-logo { opacity: 0; position: relative; top: -10vh; transition: all 0.75s; } .shrink .header-title-logo { opacity: 1; position: relative; top: 0; }
ClaireJames Posted July 11, 2022 Author Posted July 11, 2022 Oh I should also mention that I am targeting the home page only, so have identified that collection before .header-title-logo
tuanphan Posted July 11, 2022 Posted July 11, 2022 kellyrossdesign https://orange-chicken-3kkp.squarespace.com/?noredirect Initial: hide logo Scroll: logo appear Is this right? 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!)
ClaireJames Posted July 11, 2022 Author Posted July 11, 2022 @tuanphan yes thats right -I want the logo to fade in slowly when scroll down past the landing banner.
tuanphan Posted July 12, 2022 Posted July 12, 2022 Add to Design > Custom CSS header#header img { transition: all 0.3s; opacity: 0; } header#header.shrink img { opacity: 1; transition: all 0.3s; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment