staceykaitlin Posted February 27, 2023 Share Posted February 27, 2023 I created a homepage for a client a while ago, and a recent update or change to her site has broken the original custom-css, and the content is no longer overlaid on the rotating gallery as it was. The design is a full screen rotating slideshow (3 images), that is overlaid with the client's logo, some text, a button and social media icons (linked). I have tried to debug and can see that the content is still there (somewhere), however for some reason it is not showing correctly. You can see super faintly in the image attached, the content that should be overlaying the slideshow with a transparent overlay. This is the code that was previously working: <style> #header, #mobile.bar, #footer { display: none !important;} #page .page-section{ height:100vh!important} #page .page-section:nth-child(2){ margin-top:-100vh!important;} #page .page-section:nth-child(2) , #page .page-section:nth-child(2) .section-background { background-color:transparent!important} header, #footer-sections { display:none!important} </style> This is the link to the page on the site: https://www.fionabasile.com/landing-page-1 Any help would be greatly appreciated 🙂 Link to comment
Solution tuanphan Posted February 28, 2023 Solution Share Posted February 28, 2023 Change this line #page .page-section:nth-child(2) .section-background { background-color: transparent!important; } to this section, .section-background, .section-border { background-color: transparent !important; } section:first-child { z-index: 999999 !important; } section { overflow: 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
staceykaitlin Posted March 23, 2023 Author Share Posted March 23, 2023 Thank you so much, this worked! 🙂 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