How to change product price size on collection page

Solved

How to change product price size on collection page

doorstepdrip
Excursionist
45 0 10

Hey 

im trying to change the product price on my collection pages and product pages, but i want them to be different sizes on both page.

 

how can I do this please?

my website is doorstepdrip.com 

 

it currently looks like this on the collections and home page but it’s too big, I’d like it to be slightly smaller without affecting the size on the product page.

6395CBBD-936F-4B52-9FD8-C7909F2B6276.png

 

thanks 🙂

saon
Accepted Solution (1)

Tal19
Shopify Partner
116 19 18

This is an accepted solution.

Online store -> edit code of your theme -> search the file component-price.css

in this file there is css of .price with the size: 1.6rem for the collection page.

search .price--large to change it on the product page.

Need Shopify Development, Customization, or POS Support? PM Me!

View solution in original post

Replies 2 (2)

Tal19
Shopify Partner
116 19 18

This is an accepted solution.

Online store -> edit code of your theme -> search the file component-price.css

in this file there is css of .price with the size: 1.6rem for the collection page.

search .price--large to change it on the product page.

Need Shopify Development, Customization, or POS Support? PM Me!

Made4uo-Ribe
Shopify Partner
6827 1629 2007

Hi @doorstepdrip 

check this one. The dedault price size 1.4rem

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.collection .price__container {
    font-size: 1.2rem;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1720389539242.png

     

    Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.