Want to move the 'SOLD OUT' button on the products page

rene94
Explorer
60 1 8

I want to be able to to move the sold out button down as pictured, but just have it as text Capture 3.jpg

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

Replies 3 (3)

PageFly-Richard
Shopify Partner
4322 980 1639

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>

PageFlyRichard_0-1716354037001.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!


PageFly - #1 Page Builder for Shopify merchants.


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

rene94
Explorer
60 1 8

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?

Sandy-Stoq
Shopify Partner
15 1 1

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!

Restock Rocket: Recover lost sales with Back in stock alerts & Preorders


- Check us out on App Store: Restock Rocket
- If my reply helped, please hit Like and Accept solution.