Jump to content

Header colours on website shopping cart & order confirmation pages

Go to solution Solved by tuanphan,

Recommended Posts

On 12/4/2021 at 6:21 PM, tuanphan said:

Add to Design > Custom CSS

body#cart .system-page, body#order-confirmed, body#order-confirmed #confirmed-page {
    background: #28b0ac;
}

 

Thank you, that seems to recolor the entire page though, not just the header. I'm looking for a way to keep the page contents on #f2f2f2 but the header in #28b0ac. Thanks

Link to comment
On 12/6/2021 at 6:14 AM, mattarnold68 said:

Thank you, that seems to recolor the entire page though, not just the header. I'm looking for a way to keep the page contents on #f2f2f2 but the header in #28b0ac. Thanks

If you wnat to change header only, use this new code

body#cart, body#order-confirmed {
header#header {
    background: #28b0ac;
}}

 

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
19 hours ago, tuanphan said:

If you wnat to change header only, use this new code

body#cart, body#order-confirmed {
header#header {
    background: #28b0ac;
}}

 

Sorry to say this didn't work. Is there somewhere I can find out the page names to custom create some css, or do you have an alternate code?

Link to comment
  • Solution
On 12/9/2021 at 12:04 PM, mattarnold68 said:

Sorry to say this didn't work. Is there somewhere I can find out the page names to custom create some css, or do you have an alternate code?

Try this code

body#cart header#header, body#order-confirmed header#header {
    background-color: #28b0ac !important;
}

image.thumb.png.6b2163ad57f7eac420edfb794839ffa8.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
On 12/15/2021 at 7:59 AM, mattarnold68 said:

Awesome, thank you so much!

Is there a snippet of code I can add to that for the Blog posts too?

 

 

Try this code

/* this code run on individual blog posts only */
body[class*="collection-type-blog"].view-item header#header {
 background-color: #28b0ac !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.