Jump to content

Change Background Color of one Page in Avenue

Recommended Posts

Site URL: https://undro.net/

I know this has been answered so many times but none of the answers are working for me. 
I am trying to change the color of one layout page in Avenue template.

This one to be specific: https://undro.net/#/elnatt/ 

 

I have tried custom css

.collection-type-index #elnaat
background color: #F8F5EC !important;

and page header injection

<style> .Main { background-color: #F8F5EC !important; } </style>

and different versions of these that don't seem to work. 

I have also seen this in places but it updates the whole website:

body#collection-56ccfe89c2ea5165a6f983a1 {
    background: white;
}
body#collection-56ccfe89c2ea5165a6f983a1 #canvas {
    background-color: white !important;
}

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 4/14/2022 at 2:46 AM, AndrewSe7s said:

Site URL: https://undro.net/

I know this has been answered so many times but none of the answers are working for me. 
I am trying to change the color of one layout page in Avenue template.

This one to be specific: https://undro.net/#/elnatt/ 

 

I have tried custom css

.collection-type-index #elnaat
background color: #F8F5EC !important;

and page header injection

<style> .Main { background-color: #F8F5EC !important; } </style>

and different versions of these that don't seem to work. 

I have also seen this in places but it updates the whole website:

body#collection-56ccfe89c2ea5165a6f983a1 {
    background: white;
}
body#collection-56ccfe89c2ea5165a6f983a1 #canvas {
    background-color: white !important;
}

which page you want to apply the background?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.