Jump to content

Changing font (wrap and size) in shopping cart

Recommended Posts

Site URL: https://www.mellah.co.uk

I am struggling to change the css to edit the font on the cart page. I have managed to change the font on all other pages.

 

https://www.mellah.co.uk

 

You will need to add a product to cart and then go to the cart.

I want the text to not wrap on a mobile screen so the word  'shopping' is not broken over 2 lines. I would also like to know what css can directly affect the cart page.

This is what I have tried based on what worked elsewhere on the site


#cart
   div, h1, h2, h3 {font-size: 10px
   white-space: nowrap;
   overflow: scroll !important;
   }

 

but it is not affecting the page

 

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Your like looks ugly with above code

image.thumb.png.3dc2741db0787da9547864372dcf75a0.png

Add to Design > Custom CSS

/* Shopping text mobile */
@media screen and (max-width:767px) {
h2.cart-title {
    font-size: 18px;
}
}

 

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.