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

Topic summary

A user wants to reduce the opacity of a white wishlist heart icon (from the iWish app) to 50% on their Dawn theme store, making it more visible against light backgrounds.

Proposed Solutions:

Three different CSS approaches were suggested:

  1. Target the SVG element - Add CSS to base.css targeting .iWishAddColl svg with opacity: 0.5 and optional hover effect that increases opacity to 1

  2. Target the parent anchor - Apply opacity: .5 !important directly to a.iWishAddColl class

  3. Direct file edit - Modify existing CSS at line 2997 in base.css where .iWishAddColl svg is already defined

All solutions involve editing the theme’s base.css file through the code editor. Screenshots demonstrate the desired visual outcome with semi-transparent heart icons. The discussion remains open without confirmation of which solution worked.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

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