Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Yes, it should be really easy to do.

It will really help us if you include a working link to the site. It allows us to see the issue first-hand.

If your site isn't live yet, please set a site password and tell us what it is, so that we can view it.
 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

If you want to add icon, add this code to Home > Design > Custom CSS

.custom-cart-button:after {
    content: "";
    background-image: url(https://image.flaticon.com/icons/svg/263/263142.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 50px;
    height: 30px;
}

If you want to increase font size, add to Home > Design > Custom CSS

.custom-cart-button {
    font-size: 50px;
}

 

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
  • 6 months later...
On 11/9/2019 at 2:22 AM, tuanphan said:

.custom-cart-button:after { content: ""; background-image: url(https://image.flaticon.com/icons/svg/263/263142.svg); background-size: contain; background-position: center center; background-repeat: no-repeat; display: inline-block; width: 50px; height: 30px; }

Hi Tuan,

how should I modify this code to display the icon in my store page using a code block?

Thank you

Link to comment
17 hours ago, Angelo22 said:

Hi Tuan,

how should I modify this code to display the icon in my store page using a code block?

Thank you

Add Code Block > Insert code

<style>
  .custom-cart-button:after {
    content: "";
    background-image: url(https://image.flaticon.com/icons/svg/263/263142.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 50px;
    height: 30px;
}
</style>

 

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.