Jump to content

How to change cart icon with bag icon - Crosby 7.1

Go to solution Solved by humxahafeex,

Recommended Posts

On 11/1/2021 at 1:10 AM, MoonMama said:

Hi, 

I would like this cart icon https://www.shopifyoudare.com from this site on https://www.tribeandsol.com how can I achieve this?

Screen Shot 2021-10-31 at 1.07.49 PM.png

Hi,

I tried inspect their code, but they used svg code so can't get it.

You can create a new image similar them, then replace to your code

 

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
On 11/4/2021 at 2:52 AM, tuanphan said:

Hi,

I tried inspect their code, but they used svg code so can't get it.

You can create a new image similar them, then replace to your code

 

No worries, I have css that changed the shopping cart icon to the word BAG but it has the number at the top. 

How can I change it and align the bag count with the word like this?506253244_ScreenShot2021-11-07at12_33_27AM.png.131e2d730c92c35a9c860b8bd13f98f9.png

 

Mine looks like this   861328203_ScreenShot2021-11-07at3_51_49AM.png.7bb7824ac019c1e28e456291557a3cce.png it's also a different font the word and number. 

 

 

Link to comment
On 11/7/2021 at 4:53 PM, MoonMama said:

No worries, I have css that changed the shopping cart icon to the word BAG but it has the number at the top. 

How can I change it and align the bag count with the word like this?506253244_ScreenShot2021-11-07at12_33_27AM.png.131e2d730c92c35a9c860b8bd13f98f9.png

 

Mine looks like this   861328203_ScreenShot2021-11-07at3_51_49AM.png.7bb7824ac019c1e28e456291557a3cce.png it's also a different font the word and number. 

 

 

Try this

.icon-cart-quantity {
    min-width: unset !important;
    width: auto !important;
    position: relative;
    top: unset;
    left: unset;
    bottom: unset;
    right: unset;
    text-align: left;
    top: -12px;
}

span.sqs-cart-quantity {
    font-size: 18px;
}

span.sqs-cart-quantity:before {content: "(";}

span.sqs-cart-quantity:after {content: ")";}

 

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
3 hours ago, tuanphan said:

Try this

.icon-cart-quantity {
    min-width: unset !important;
    width: auto !important;
    position: relative;
    top: unset;
    left: unset;
    bottom: unset;
    right: unset;
    text-align: left;
    top: -12px;
}

span.sqs-cart-quantity {
    font-size: 18px;
}

span.sqs-cart-quantity:before {content: "(";}

span.sqs-cart-quantity:after {content: ")";}

 

Perfect! I tweaked the size and added font family and it looks beautiful thank you !!!

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.