Shopify themes, liquid, logos, and UX
Hi, thanks for your help! I am using Woodstock theme, my store is: https://leadingsolutions.co.nz/.
I am trying to reduce the space between the price and the afterpay message on the product page so that they are a bit more cohesive but I can't figure out how to do it. See below.
Solved! Go to the solution
This is an accepted solution.
Hello @Franrulzok
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
div.shopify-block:has(square-placement) {
margin-top: -26px !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @Franrulzok
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>
.product__info-wrapper .product__title + div {
margin: 0;
}
.product__info-wrapper .product__tax, .product__info-wrapper .installment {
display: none;
}
div.shopify-block:has(square-placement){
margin-top:0;
}
</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 for your reply. This just removes the space above the price (which I'm not as keen on) but the spacing above afterpay message is still there?
This is an accepted solution.
Hello @Franrulzok
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
div.shopify-block:has(square-placement) {
margin-top: -26px !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025