I changed the size of my product price for my product page butt it also changes the size op the price on the collection page. I want the price on the collection page to stay small. I hope some of you guys can help me with this.
Hey @Dennisstrik
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
this is the store link, there is not a password
You can follow these steps:
Go to Online Store → Themes → Edit code.
Go to Assets folder → base.css / theme.css / style.css
Add the following code at the bottom of the file above tag
h3#title-template--19154163990853__product-grid-8667591344453 {
font-size: 12px!important;
}
s.price-item.price-item--regular {
font-size: 12px!important;
}
span.price-item.price-item--sale.price-item--last {
font-size: 12px!important;
}
Please check. and let me know.If I managed to help you then, don’t forget to Like it and Mark it as Solution
Hi @Dennisstrik
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
section#MainProduct-template--19154164187461__main .price__container span.price-item.price-item--sale.price-item--last {
font-size: 25px !important;
}
div#ProductGridContainer h3 {
font-size: 18px !important;
}
-
And Save.
-
Result:
-
Note: The sizea of all prices currently is 20px I didnt change the collection sizes only the products. You can also decrease and increase the sizes you like.
Hi @Dennisstrik ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file → Save
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly


