how can i make my prices bold + smaller font sizes prices (Trade theme)

Solved

how can i make my prices bold + smaller font sizes prices (Trade theme)

TOC-MR
Excursionist
31 1 6

Hi all,

 

How do I make the font sizes of the prices smaller and bold? I have tried some CSS codes (which I found in several Shopify threads), and the bold part was working. However, making the font size of the prices smaller did not work. Ideally, I would also like the flexibility to give my promo/sale prices a different color. Can someone help me with a complete, correct CSS code and a walkthrough to get this implemented?

 

Thank you in advanced!

Accepted Solutions (3)
techlyser_web
Shopify Partner
1849 345 373

This is an accepted solution.

@TOC-MR 

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>
.price__regular {
font-weight: 600;
font-size: 14px !important;
}
s.price-item.price-item--regular {
color: blue !important;
}
span.price-item.price-item--sale.price-item--last {
color: chocolate !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

TOC-MR
Excursionist
31 1 6

This is an accepted solution.

red price is not bold yet. What am i doing wrong in the code 🙂

TOCMR_0-1719499199319.png

 

TOCMR_1-1719499213940.png

 

View solution in original post

techlyser_web
Shopify Partner
1849 345 373

This is an accepted solution.

@TOC-MR 

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>
span.price-item.price-item--sale.price-item--last {
font-weight: 700 !important;
font-size: 14px !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 12 (12)

techlyser_web
Shopify Partner
1849 345 373

Hello @TOC-MR 

would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
techlyser_web
Shopify Partner
1849 345 373

This is an accepted solution.

@TOC-MR 

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>
.price__regular {
font-weight: 600;
font-size: 14px !important;
}
s.price-item.price-item--regular {
color: blue !important;
}
span.price-item.price-item--sale.price-item--last {
color: chocolate !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
TOC-MR
Excursionist
31 1 6

almost there, i want the sales price also to be bold and ajustubale in size

 

TOCMR_0-1719497348826.png

 

 

techlyser_web
Shopify Partner
1849 345 373

@TOC-MR 

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>
.price--on-sale .price-item--regular {
color: blue !important;
font-size: 13px !important; /*adjust according to you*/
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
TOC-MR
Excursionist
31 1 6

This is an accepted solution.

red price is not bold yet. What am i doing wrong in the code 🙂

TOCMR_0-1719499199319.png

 

TOCMR_1-1719499213940.png

 

techlyser_web
Shopify Partner
1849 345 373

This is an accepted solution.

@TOC-MR 

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>
span.price-item.price-item--sale.price-item--last {
font-weight: 700 !important;
font-size: 14px !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
TOC-MR
Excursionist
31 1 6

perfect 🙂 Thanks!

Moeed
Shopify Partner
4400 1135 1393

Hey @TOC-MR 

 

Can you share your Store URL and Password if enabled?

 

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. ❤️
TOC-MR
Excursionist
31 1 6

Sure no problem


https://theonlinecollective.nl/

SHOPIFY2024!

Moeed
Shopify Partner
4400 1135 1393

Hey @TOC-MR 

 

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__regular .price-item--regular {
    font-weight: bold !important;
    font-size: 14px !important;
}
</style>

RESULT:

Moeed_0-1719496210315.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. ❤️
TOC-MR
Excursionist
31 1 6

will try. Do you also have a part of the code to give promotion/sales price another color?

Made4uo-Ribe
Shopify Partner
6999 1665 2058

Hi @TOC-MR 

Check this one. 

  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.

 

.price-item.price-item--regular {
    font-weight: 900;
    font-size: 1.5rem;
}

.price-item--sale.price-item--last {
    color: red;
    font-weight: 900;
    font-size: 1.5rem;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_1-1719496424063.png

     


     

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.