replace svg with text and changing content of textfields

Solved
viggostarcke
Excursionist
26 1 3

hey I need help replacing the trashcan svg symbol shown in cart with the text "remove":

viggostarcke_0-1699447459360.png

Also I need help changing the "your cart" to "your bag" in this case where you have something in your bag.
For an empty bag it should read "your bag is empty" instead of "your cart is empty".
https://kyototango.com/
pw"kyoto"
thanks in advance

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
5680 1047 1074

This is an accepted solution.

Try updating code like this and check again

.cart-item cart-remove-button .cart-remove-button:after {
    content: 'remove';
}
.cart-item cart-remove-button { 
    margin-top: 0px !important; 
}
.cart-remove-button svg {
    display: none!important;
}

 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

View solution in original post

Replies 14 (14)
Dan-From-Ryviu
Shopify Partner
5680 1047 1074

Hi @viggostarcke 

To remove trash icon and add remove text, please add this code at the bottom of your base.css file 

cart-remove-button .cart-remove-button:after {
    content: 'remove';
    display: flex;
    align-items: center;
}
.cart-item cart-remove-button .cart-remove-button { margin-top: 0px; }

Screenshot_1.jpg

To change the texts, please go to your Online store > Themes > Edit default theme content, search texts you want to edit, edit them, and save

Screenshot_2.jpg

 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

viggostarcke
Excursionist
26 1 3

seems the code injection doesnt work

viggostarcke_0-1699448486541.png

does still look like a trashcan:/

Dan-From-Ryviu
Shopify Partner
5680 1047 1074

Sorry, please update code 

.cart-remove-button:after {
    content: 'remove';
    display: flex;
    align-items: center;
}
.cart-remove-button svg { display: none !important; }
.cart-item cart-remove-button .cart-remove-button { margin-top: 0px; }

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

viggostarcke
Excursionist
26 1 3

viggostarcke_0-1699448911982.png

only succesfully removes the trashcan

 

viggostarcke
Excursionist
26 1 3

also I had a hard time thinning the underlining on the product cards. maybe you know how to ?

viggostarcke_0-1699449826350.png

 

Dan-From-Ryviu
Shopify Partner
5680 1047 1074

Which underline? In product name when hovering?

 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

viggostarcke
Excursionist
26 1 3

yes exactly

Dan-From-Ryviu
Shopify Partner
5680 1047 1074

It cannot be thinner.

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

viggostarcke
Excursionist
26 1 3

this doesnt work:/

viggostarcke_0-1699458942595.png

only removes the trashcan but doesnt put any text

viggostarcke_1-1699458982975.png

 

Dan-From-Ryviu
Shopify Partner
5680 1047 1074

This is an accepted solution.

Try updating code like this and check again

.cart-item cart-remove-button .cart-remove-button:after {
    content: 'remove';
}
.cart-item cart-remove-button { 
    margin-top: 0px !important; 
}
.cart-remove-button svg {
    display: none!important;
}

 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

viggostarcke
Excursionist
26 1 3

works. thanks!!

do you have an idea how to make the underlining on product name when hovering over product cards on the catalog page thinner?

Bilash
Shopify Partner
25 2 1

theme name?

viggostarcke
Excursionist
26 1 3

a customized version of spotlight

Bilash
Shopify Partner
25 2 1

i need collaborate access otherwise help it's difficult.