Have your say in Community Polls: What was/is your greatest motivation to start your own business?

change the soldout photo opacity for taste theme

Solved

change the soldout photo opacity for taste theme

flfsalm
Tourist
4 0 0

so I'm having trouble finding out how to change the front covers opacity for sold out items on the front page by editing the code. I have found many fixes for the change but none of the changes seem to work with the taste themes and the only code that actually changed the opacity changed the opacity for all the items on my products page and I was wondering if anyone had a viable fix for this issue.

store: https://laden.co.nz/collections/all

 

 

 

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4801 1085 1753

This is an accepted solution.

Hi @flfsalm 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.card.card--standard.card--media:has(.price--sold-out) {
    background: white;
    opacity: 0.5;
}
</style>

PageFlyRichard_0-1707092975702.png

 

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 2 (2)

PageFly-Richard
Shopify Partner
4801 1085 1753

This is an accepted solution.

Hi @flfsalm 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.card.card--standard.card--media:has(.price--sold-out) {
    background: white;
    opacity: 0.5;
}
</style>

PageFlyRichard_0-1707092975702.png

 

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

flfsalm
Tourist
4 0 0

thanks so much it finally works