Jump to content

Background will not go transparent on slideshow

Go to solution Solved by tuanphan,

Recommended Posts

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 🙂 

Screen Shot 2023-02-27 at 8.03.28 pm.png

Link to comment
  • Replies 2
  • Views 302
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

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;
}

image.thumb.png.d2a5ab7d6895b8962e3c44c8e4a00ff1.png

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
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.