Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
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>
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.
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>
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.
thanks so much it finally works
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024