I am wanting to reduce the white space on my product pages. Please see screenshot. I feel that if i can reduce the padding above the quanity box and move the inventory level to the side of the quantity box, it will reduce the big white space a little
how do i do this? or any other design improvements for this layout feel free to suggest.
@Henrybags ,
Hi, Please share the store URL.
@Henrybags ,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > theme.css and paste this at the bottom of the file:
p.inventory-count {
margin: 60px 0 -80px 100px;
}
.product-form{
padding-top:0px !important;
}
Thanks!
Thank you so much that has closed the gap. is there any way of making the “100 in stock” next to the quanity box rather than above it? i think this will close the gap a little more an make it look better? thoughts?
@Henrybags ,
p.inventory-count {
margin: 60px 0 -80px 100px;
}
.product-form{
padding-top:0px !important;
}
Thanks!
@Henrybags ,
please add this CSS to your theme
p.inventory-count {
margin: 60px 0 -80px 100px !important;
}
Thanks!
ok thank you. im guessing i have to change something in product-template.liquid for the inventory counter to move
@Henrybags ,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > theme.css and paste this at the bottom of the file:
p.inventory-count {
margin: 60px 0 -80px 100px !important;
}
Thanks!
thank you. this doesnt effect the inventory counter but i think you have probably helped me enough today. im so greatful
1 Like
sorryy… im an idiot.. the important part has made this active now. thank you so much. you have transformed the pages with your help and saved me hours of hunting the internet for the correct way to do this
1 Like