mbockmaster Posted October 18, 2023 Share Posted October 18, 2023 Hello all! I'm happy with the transition between my regular and shrinking header on desktop, but I'm experiencing an odd delay on the max-width transition of the logo in the mobile version. I've been staring at the css for so long that I'm going cross-eyed. Hoping someone here might be able to spot the issue? Site: https://fife-sunflower-68mk.squarespace.com/ Pw: elipsis Link to comment
tuanphan Posted October 21, 2023 Share Posted October 21, 2023 Add this code to bottom of Custom CSS @media screen and (max-width:991px) { .header-title-logo img { transition: opacity 0.2s ease !important; } } 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
mbockmaster Posted October 23, 2023 Author Share Posted October 23, 2023 On 10/21/2023 at 7:26 AM, tuanphan said: Add this code to bottom of Custom CSS @media screen and (max-width:991px) { .header-title-logo img { transition: opacity 0.2s ease !important; } } Thanks @tuanphan! I've added the code but it hasn't fixed the max width delay. Any other ideas? Screen Recording 2023-10-23 at 10.29.07 AM.mov Link to comment
tuanphan Posted October 27, 2023 Share Posted October 27, 2023 Try this new code @media screen and (max-width:991px) { .header-title-logo img { transition: unset !important; } } 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
mbockmaster Posted November 7, 2023 Author Share Posted November 7, 2023 Thanks @tuanphan, unfortunately this isn't correcting the issue either 😞 I've stripped out all associated code and rewritten it, in hopes that I'd find the issue, but you can see that there's still this delay in the resizing of the logo on shrink that happens only on mobile. Any other ideas? Screen Recording 2023-11-07 at 9.51.40 AM.mov Link to comment
Solution mbockmaster Posted November 7, 2023 Author Solution Share Posted November 7, 2023 Just now, mbockmaster said: Thanks @tuanphan, unfortunately this isn't correcting the issue either 😞 I've stripped out all associated code and rewritten it, in hopes that I'd find the issue, but you can see that there's still this delay in the resizing of the logo on shrink that happens only on mobile. Any other ideas? Screen Recording 2023-11-07 at 9.51.40 AM.mov AH! Just after I posted this, I tried one more thing: I had my .header-title-logo a set with 'width', but was using 'max-width' on the shrink. I changed them both to width and it's fixed! Phewf! 🙂 tuanphan 1 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