Jump to content

Recommended Posts

  • Replies 4
  • Views 2.8k
  • Created
  • Last Reply
Posted

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.
 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

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!)

  • 6 months later...
Posted
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

Posted
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!)

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.