Rorafilmco Posted April 1 Share Posted April 1 I am trying to get this image/logo to overlap into the next section above it. I have successfully moved it up, but now it disappears behind the section rather than sitting on top of it. I am using this code to move it up. Now I just need to figure out how to make it sit on top of the section. Thank you! #block-yui_3_17_2_1_1712000396722_116491 { position: relative; top: -30px; } Link to comment
tuanphan Posted April 3 Share Posted April 3 You need to set z-index of sections contain your block, higher > z-index of next section If you share link to page in screenshot, we can help 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
Rorafilmco Posted April 4 Author Share Posted April 4 @tuanphan here is a link to my site: Thank you! https://grasshopper-moose-taz5.squarespace.com/ PW: forum Link to comment
Solution tuanphan Posted April 7 Solution Share Posted April 7 On 4/4/2024 at 9:38 PM, Rorafilmco said: @tuanphan here is a link to my site: Thank you! https://grasshopper-moose-taz5.squarespace.com/ PW: forum Use this code to Custom CSS box footer#footer-sections { z-index: 99999 !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
Journalfloral Posted September 25 Share Posted September 25 (edited) For me unfortunately this code doesn't work 😞 The logo stays in the footer and does not overlap to the section above. @tuanphan My website: https://evamauermann.com Password: Help Edited September 25 by Journalfloral Link to comment
tuanphan Posted September 27 Share Posted September 27 On 9/25/2024 at 8:00 PM, Journalfloral said: For me unfortunately this code doesn't work 😞 The logo stays in the footer and does not overlap to the section above. @tuanphan My website: https://evamauermann.com Password: Help Use this code under div#block-yui_3_17_2_1_1727212884981_109724 { position: relative; top: -100px; } 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
Journalfloral Posted September 27 Share Posted September 27 7 hours ago, tuanphan said: Use this code under div#block-yui_3_17_2_1_1727212884981_109724 { position: relative; top: -100px; } Thanks, it worked! 🙂 Do I have to adapt anything for the mobile version? Link to comment
tuanphan Posted September 29 Share Posted September 29 On 9/27/2024 at 5:16 PM, Journalfloral said: Thanks, it worked! 🙂 Do I have to adapt anything for the mobile version? If you wan to adjust position on mobile, use this code under @media screen and (max-width:767px) { div#block-yui_3_17_2_1_1727212884981_109724 { position: relative; 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment