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

change the background color of a section 7.1

Question

Site URL: https://helix-bell-pr3e.squarespace.com/config/design/product-items

hi there,

 

I'm trying to change the background colour of a text section using Custom CSS -  like this:

Quote

section[data-section-id="5f2868e87b714446c5885432"]
{
background: #929a82!important;
}

This doesn't work.

When I do the same thing for a block in the section like this:

Quote

#block-bd2cb0c08f0ef244b952
{
background: #929a82!important;
}

it works!

I'm a Squarespace newbie, so any help would be appreciated very much!

thanks

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

Which text section? Can you take a screenshot/share link?


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

-- I'm Tuan. I work for a non-profit project (promote the establishment of 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. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

Use this code

[data-section-id="abcxyz-123-enter=id-here"] .section-background {
	background: #ff0000 !important;
}

 


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

-- I'm Tuan. I work for a non-profit project (promote the establishment of 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. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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...