Jump to content

Code to change the background and font color of shopping cart

Recommended Posts

  • Replies 6
  • Views 1.7k
  • Created
  • Last Reply

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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

Link to comment

They're black?

image.thumb.png.a0c930b14055ab1e0c5782f188e2e88e.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

Archived

This topic is now archived and is closed to further replies.

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