Jump to content

Styling the cart page

Recommended Posts

Site URL: https://disc-snail-sk6j.squarespace.com

Hi,

I'd like to make some basic adjustments to the shopping cart page of my site but there doesn't seem to be an obvious way to change these elements in the 'Site Styles' menu. I have managed to change everything else so not sure why there is no control over this element. Especially as the default sizes are so small.

Excuse my naivety but is there some generic CSS I can add to the 'Custom CSS' section with values for 'text size' and 'text colour'?

Thanks,

Tom.

 

Screen Shot 2021-11-12 at 17.20.49.png

Link to comment
Quote

but there doesn't seem to be an obvious way to change these elements in the 'Site Styles' menu

You are correct. SS handling of cart fonts and colors is a bit of a mess. The font family comes from the setting in the SS interface. For the size of the fonts there are no SS interface controls. The colors I believe come from the default color theme for the site. But which color theme that is depends on several factors on how your site is set up. In my experience it is usually Lightest 1 that is my default but others folks have found otherwise.

Quote

is there some generic CSS I can add to the 'Custom CSS' section with values for 'text size' and 'text colour'?

To avoid all the weirdness I think it is best to just use custom CSS to control the cart. It can be tricky though.

Here is some CSS to get you started. Add the following to Design > Custom CSS.

#cart {

  color : black;
  
  }

#cart ._3zzV1fDFF, /* item column label */
#cart ._1MDgZZPKX a, /* item title */
#cart ._1MjICGhm_, /* item variant info */
#cart .LwuRxog4z, /* item quantity */
#cart ._26eXSmpLx, /* item price */
#cart ._2JFeDgZcv /* subtotal */

  {
  
    font-size : 150%;
    
    }

This is for v7.1.

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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.