Jump to content

Changing the section theme (colors) of the shopping cart page

Recommended Posts

Site URL: http://www.theroyalcodes.com

Hi fam,

I have been scouring the internet and the forums to figure out how to change the Shopping Cart page color theme to match the rest of my website.

Everything else on my site is 'White Minimal' theme, but I can't seem to change the theme of the shopping cart page. Am I missing something?

I have figured out how to change the background of the Shopping Cart page through custom CSS, but it looks like it will also require me to custom color all of the elements to get it to look the same as the white minimal theme. before I take the time to do all of that, I wanted to see if there is a faster way to do it.

Any secrets I don't know about? 🙂

Thank you for your time,

Ryan

 

ps: custom css I started doing was:

.cart {
background-color: white;
a, h1, h2, h3, p {
color: black;
}
}

Link to comment
On 6/21/2020 at 10:20 AM, RyanFontana said:

@tuanphan any tips or tricks here to change section theme for shopping cart page?

 

if not, most efficient way to code it as such?

 

I appreciate your squarespace wizardry!

Can you describe in detail? background color...or?

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
  • 4 months later...
  • 1 year later...

Did you ever figure this out?  I am trying to get my Cart page to not have my white header  logo.  The text is dark, but white logo is still there.  

Cart Page (NOT CORRECT, cannot read logo):

image.thumb.png.caa481176697db86d312d621e6923cb6.png

I want my header to be dark so my logo looks correct: 

image.thumb.png.b6126b65f74d050c4eb720756be36ce0.png

However, when I went to the squarespace app  Site Styles > Colors > Site Theme, i changed it to dark, but it made my entire site dark and I don't want my entire site dark.  I want white to be default bg color.

 

Thoughts?  I also tried the CSS code given, but you can't read half the cart text.  Is there CSS that I can make ONLY my header the dark theme blue color?  This code below DID NOT WORK.

/*** CART PAGE ***/
  #cart .header{
    background-color: #2C4F6D;
  }
/*** END CART PAGE ***/

 

Edited by Lorne17
Link to comment
On 1/18/2022 at 8:57 AM, Lorne17 said:

Did you ever figure this out?  I am trying to get my Cart page to not have my white header  logo.  The text is dark, but white logo is still there.  

Cart Page (NOT CORRECT, cannot read logo):

image.thumb.png.caa481176697db86d312d621e6923cb6.png

I want my header to be dark so my logo looks correct: 

image.thumb.png.b6126b65f74d050c4eb720756be36ce0.png

  •  

However, when I went to the squarespace app  Site Styles > Colors > Site Theme, i changed it to dark, but it made my entire site dark and I don't want my entire site dark.  I want white to be default bg color.

 

Thoughts?  I also tried the CSS code given, but you can't read half the cart text.  Is there CSS that I can make ONLY my header the dark theme blue color?  This code below DID NOT WORK.

/*** CART PAGE ***/
  #cart .header{
    background-color: #2C4F6D;
  }
/*** END CART PAGE ***/

 

What is your site url?

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 1/21/2022 at 10:42 AM, Lorne17 said:

http://www.activestatedesigns.squarespace.com

PS: SiteTest

 

Sorry forgot!  Thanks in advance,

Lorne

Add to Design > Custom CSS

/* remove cart page logo */
body#cart header#header img {
    visibility: hidden;
}

 

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
  • 2 weeks later...
On 2/2/2022 at 10:01 PM, Lorne17 said:

Thanks @tuanphan, but that code removes my logo.  I just want the header background to be dark in color so my logo stays there, but looks correct.

 

/* remove cart page logo */
body#cart header#header img {
    visibility: hidden;
}

Thanks,

Lorne

Remove above & use this new code

body#cart header#header {
    background-color: #f1ff !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
  • 3 weeks later...
On 2/24/2022 at 1:29 AM, gabypolancoa said:

It happened to me too!

Used the CSS you shared. The issue here is the paragraph font color. It blends with the white background. Look at these examples:

Screen Shot 2022-02-23 at 2.29.17 PM.png

Screen Shot 2022-02-23 at 2.29.07 PM.png

What is your site url? We can check problem easier

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
  • 1 month later...

I wrote about this in my blog post Changing Squarespace 7.1 Cart Page Colour Theme (2022)

In a nutshell, you should figure out what is your default color theme. This can't be changed currently in 2022. But you can style it and then if you want a different look, use other color theme in places where you can choose it. So your default theme is the foundation for cart page, search results page an order confirmation page and you should start with styling those first. And then creating different looks elsewhere. 

-Fenix

Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem.

Get in touch here!

Link to comment
  • 5 months later...
On 9/23/2022 at 1:33 AM, PamP said:

I am having the same issue, call code shown in this thread isn't working. The logo also isn't showing. Could anyone please help?

https://spinach-tarpon-d9kn.squarespace.com/cart

PS: Holmes 

Happy for the background to be white and i'll add hex to the code. 

image.thumb.png.ea1c99faf53c989c9b7af69d3efd522c.png

Password is incorrect

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.