hummingbirdbyvictoria Posted November 8, 2019 Posted November 8, 2019 Is there a way I can add code to increase the size of the font or add a big logo on the shopping cart in the top right of my website? At the minute, I fear it's getting lost and people won't be able to find it to check out.
paul2009 Posted November 8, 2019 Posted November 8, 2019 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.
tuanphan Posted November 9, 2019 Posted November 9, 2019 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!)
Angelo22 Posted June 1, 2020 Posted June 1, 2020 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
tuanphan Posted June 2, 2020 Posted June 2, 2020 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.