Jump to content

Change the image size in the shopping cart

Go to solution Solved by DPruitt,

Recommended Posts

Posted

Hi, I'm new to Squarespace, and while it's really powerful, I'm having some trouble with formatting the shopping cart.

I changed the font for the shopping cart product description and prices to make them more legible, but when they get larger the tops of the letters get cut off. See "SquishedText_1.png".SquishedText_1.thumb.png.3d926b36bad9e3180c665a03d8b8cb51.png

 

So using examples I found in the forums (thank you!) I was able to change the margin and padding so the text displays properly, but now the images are cut off.

Code:

    margin: 0.25vw;
    padding: 0.5vw;

How the images look with this code (see "SquishedImage_1.png":

SquishedImage_1.thumb.png.ecc27511e78e7a9c28cf7f283e008ee5.png

 

Any thoughts about how I can get both the text and the images to display fully in my shopping cart without getting cut off?

And while I'm asking, I'd love to know how to change the font in the "Spring Membership" button at the top right, and change the font size in the header. It's just too small to be legible.

Many thanks!!!!

April

  • Replies 2
  • Views 952
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
Posted

Can you provide the link to your site?

This might work if you remove your previous code to alter the margins and such:
 

.css-b3eyut {
    font-size: 55px !important;
    line-height: 1.1em !important;}

 

For the button in the top right of your site, this might work:
 

#siteWrapper .header-actions-action--cta .sqs-button-element--primary
{font-size: 17px!important;}


If those 2 don't work, I'll need to see the link to give you the correct classes for the fix.

Posted

Hi DPruitt, forcing the line-height worked like a charm to fix the text and image display in my shopping cart. They look great now.

I think you conflated the two other things I was asking for help with.

  1. the font style in the button element
  2. The font size in the site header

The link to the site is https://cyan-perch-hsd2.squarespace.com/

Thanks!

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.