Image disappearing on categories

Solved

Image disappearing on categories

JayFinlay
Excursionist
27 1 5

On the main homepage https://downunderthunder.com.au/

While on desktop/PC if you hover your mouse over one of the categories that are on sale the image disappears. All the other categories without discounted items are fine.

 

Photo below for reference. Absolutely lost as to how to fix this issue.

 

Untitled.jpg

Accepted Solution (1)

approxhuman
Shopify Partner
9 2 2

This is an accepted solution.

You have this style which is causing the issue located in /assets/component-card.css in line number 262

 

@media screen and (min-width: 990px) {
 .card-wrapper:hover .media.media--hover-effect>img:first-child:not(:only-child) {
  opacity: 0;
 }
}

 

You can change it to

@media screen and (min-width: 990px) {
.card-wrapper:hover .media.media--hover-effect>img:first-child:not(:only-child) {
  opacity: 0.5;
 }
}

 

to make the hover effect more subtle and fix this issue

Developer, Indie hacker, Twitter: @approxhuman

View solution in original post

Reply 1 (1)

approxhuman
Shopify Partner
9 2 2

This is an accepted solution.

You have this style which is causing the issue located in /assets/component-card.css in line number 262

 

@media screen and (min-width: 990px) {
 .card-wrapper:hover .media.media--hover-effect>img:first-child:not(:only-child) {
  opacity: 0;
 }
}

 

You can change it to

@media screen and (min-width: 990px) {
.card-wrapper:hover .media.media--hover-effect>img:first-child:not(:only-child) {
  opacity: 0.5;
 }
}

 

to make the hover effect more subtle and fix this issue

Developer, Indie hacker, Twitter: @approxhuman