Jump to content

Recommended Posts

  • Replies 4
  • Views 2.6k
  • Created
  • Last Reply

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 me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

Contact Customer Care - Learn CSS - Buy me a coffee (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.