Jump to content

Code to change the background and font color of shopping cart

Recommended Posts

Please use this

body[data-menu-overlay-theme-switcher="true"] .header-menu .header-menu-bg {
    background-color: #fff;
    color: #000;
}
body#cart {
  background-color: #fff;
  color: #000;
}
h2 {
    color: #000;
}
body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .top-bun, body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .patty, body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .bottom-bun,
body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-burger .top-bun, body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-burger .patty, body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-burger .bottom-bun{
  background-color: #000;
}
body[data-menu-overlay-theme-switcher="true"].header-actions .icon--stroke svg,
body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-actions .icon--stroke svg{
  stroke: #000;
}
body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .header-actions .icon-cart-quantity,
body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-actions .icon-cart-quantity {
  color: #000;
}
body[data-menu-overlay-theme-switcher="true"] .header-menu .header-menu-nav a:not(.btn) {
  color: #000
}

 

image.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
50 minutes ago, bangank36 said:

Please use this



body[data-menu-overlay-theme-switcher="true"] .header-menu .header-menu-bg {
    background-color: #fff;
    color: #000;
}
body#cart {
  background-color: #fff;
  color: #000;
}
h2 {
    color: #000;
}
body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .top-bun, body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .patty, body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .burger-inner .bottom-bun,
body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-burger .top-bun, body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-burger .patty, body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-burger .bottom-bun{
  background-color: #000;
}
body[data-menu-overlay-theme-switcher="true"].header-actions .icon--stroke svg,
body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-actions .icon--stroke svg{
  stroke: #000;
}
body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .header-actions .icon-cart-quantity,
body[data-menu-overlay-theme-switcher="true"].header--menu-open .header .header-actions .icon-cart-quantity {
  color: #000;
}
body[data-menu-overlay-theme-switcher="true"] .header-menu .header-menu-nav a:not(.btn) {
  color: #000
}

 

image.png

How do i change the font color of my header menu options to black?

Edited by PrevostHealth
Link to comment

They're black?

image.thumb.png.a0c930b14055ab1e0c5782f188e2e88e.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
23 hours ago, PrevostHealth said:

 

This is what I am seeing here

Thank you for the help

Add to Home > Design > Custom CSS

body#cart header#header * {
    color: black;
    fill: black;
    stroke: black;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.