How can I add margin or padding top for Product Price?

Solved

How can I add margin or padding top for Product Price?

Select
Excursionist
14 0 3

Product Price is right after a text block I have under Product information section. Its too close to the text blocks and I would like to create some space between them.

 

Link: https://puffashion.no/products/puf-travel-bag

 

Thanks in advance!

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
8548 1687 1694

This is an accepted solution.

Hi @Select 

You can do that by adding this code to Online Store > Themes > Customize > Custom CSS

.product .price { margin-top: 12px !important; }

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 2 (2)

Moeed
Shopify Partner
4370 1127 1383

Hey @Select 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.price--large {
    padding-top: 20px !important;
}
</style>

RESULT:

Moeed_0-1720005633323.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

Dan-From-Ryviu
Shopify Partner
8548 1687 1694

This is an accepted solution.

Hi @Select 

You can do that by adding this code to Online Store > Themes > Customize > Custom CSS

.product .price { margin-top: 12px !important; }

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.