How to keep opacity-level to 50% to white colour of wishlist heart icon (Dawn theme)

Hello

I am using a wishlist app called iwish: Wishlist. I want to keep opacity-level to 50% to white colour of wishlist heart icon on collection and product pages. How to do it ?

Below is screenshot of my website - www.jagstore.in

I want it to look like below

2 Likes

Hello @Jayesh-Agarwal

Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.

.iWishAddColl svg {
stroke: white !important;
opacity: 0.5;
}
.iWishAddColl svg:hover {
opacity: 1;
transition: opacity 0.3s ease;
}

1 Like

Hi @Jayesh-Agarwal

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
a.iWishAddColl {
    opacity: .5 !important;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

go to base.css file in that line number 2997

.iWishAddColl svg

opacity: 50%

1 Like