Jump to content

How do I make my footer transparent

Recommended Posts

Hey guys I need some help.

I've managed to make my footer sticky by using this code:

//sticky footer
#footer-sections {
position: fixed!important;
width: 100%!important;

bottom: 0!important;
z-index: 99!important
}

 

I,ve disabled the code until I get the solution, but if needed I can enable it

 

The problem is that it has a black background in this case, but I want it to be transparent as the header, so you can see the content passing through the footer.  Any solutions??

 

Edited by alozanx
spelling mistake
Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Use this CSS code

body {
    position: relative;
}
footer#footer-sections {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
}
footer.sections section, footer.sections .section-background, footer.sections .section-border {
    background: transparent !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

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.