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

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

rene94
Explorer
78 1 15

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
4971 1112 1795

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!


➜ 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.

rene94
Explorer
78 1 15

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
101 5 14

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!

STOQ: Preorders & Back in stock alerts made easy for Shopify
Filemonk: Sell digital products & downloads in 3 quick steps

Founder & CEO, Artos Software