How can I replace the cart icon with the word 'cart'?

hey,

does anyone know how I can change the cart icon to the word “cart” ?

thanks in advance

brokenmind.com

pw: test1

1 Like

Hi @drew23 ,

You can change the cart icon to word cart by following the instructions below.

  1. From your Admin page, go to Online store > Themes > click the three dots > Edit code

  2. Open the base.css file under the Asset folder

  3. Add the code at the very end of the file

a#cart-icon-bubble:after {
    content: "CART";
}

a#cart-icon-bubble{
text-decoration: none;
line-height: calc(1 + 0.3 / var(--font-body-scale));
text-underline-offset: 0.3rem;
}

a#cart-icon-bubble:hover {
    text-decoration: underline;
}
3 Likes

Hello @drew23 ,

You can follow these steps:

  1. Go to Online Store->Theme->Edit code

  1. Open your theme.liquid file, paste the below code before


I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team

1 Like

@drew23

To change cart icon with cart text follow below steps:

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Layout > theme.liquid and paste this at the bottom of the file:

Hope this works well.

Best Regards [email removed]

1 Like

Can you provide your website?