Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Changing Section Background without changing footer


Recommended Posts

Hi All! 

I'm currently working on changing the background colour of a specific section. I have managed to target it, but it is also changing the footer background colour of my site? Anyone have any idea how to stop this?

Here is the code i am using: 

#collection-5f087542c703c07a2953ba3b {
.page-section:nth-child(1) {
background: rgb(255,249,76);
}
.page-section:nth-child(1) .section-background{background-color:transparent!important}
}

I am using squarespace 7.1 - unable to share link to site at this moment. 

Appreciate any help of advice in advance!

Thanks

Link to post
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

footer.sections .section-background {background: red;}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Hey thanks for the reply! 

I've inserted the code as below but am not seeing any change to the footer? Any ideas?

 

#collection-5f087542c703c07a2953ba3b {
.page-section:nth-child(1) {
background: #fee578;
}
.page-section:nth-child(1) .section-background{background-color:transparent!important}
footer.sections .section-background {background: red;}

}

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...