Shopify themes, liquid, logos, and UX
I want to be able to to move the sold out button down as pictured, but just have it as text
I also want to make the header logo disappear when I scroll (sitewide) I'm using the Dawn theme btw.
website link: https://9g99ww8igezgur08-74826613002.shopifypreview.com
Hi @rene94
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>
.collection .product-card-wrapper .card__inner .card__content .card__badge {
position: relative;
top: 20%;
}
</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.
Thank you it's moved out the box but its too low (https://3jbmrn9twv4k96fu-74826613002.shopifypreview.com) I want it to be exactly like the screenshot you sent and can you help with disappearing my logo when scrolling site wide please?
Hey @rene94! Sandesh here from Restock Rocket.
To move it below, you'll need to add some quick code to your store. I think it'd be best to handle it for desktop and mobile separately so that it looks great on both!
1. Go to Online Stores > Customize > Edit Theme Code
2. Look for theme.liquid file
3. Add this code above </head> in the file.
<style>
.collection .product-card-wrapper .card__inner .card__content .card__badge {
position: relative;
top: 15%;
}
@media only screen and (max-width: 500px) {
.collection .product-card-wrapper .card__inner .card__content .card__badge {
position: relative;
top: 20%;
}
}
</style>
I took a look at your store and couldn't see the logo on scroll, so it looks like you have that sorted out? If you don't though, let me know and I'll be happy to share a code snippet to help with that too!
Founder & CEO, Artos Software
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025