How to change font size on product price only?

Solved

How to change font size on product price only?

DaveyAlcatraz
Explorer
63 0 13

Hi everyone,

I'm not sure if it's because I'm using the Bullet theme in particular, I can't understand how that would be the case but I am completely open to education and help on this. All I'm looking to do is change the product page price to a larger font size, in bold, with a colour on that price, an example of inspiration I've taken is below although I wouldn't want to use baby blue like the example. I'd instead use a brand hex code #BC6C25.

 

DaveyAlcatraz_0-1722916818799.png

 

Please note, this company has no affiliation with my brand at all. I helped them with their marketing strategy recently and looking over their website gave me some inspiration for my own business which is in an entirely different field. Once again, just looking to achieve this result with the product price font only.

Accepted Solution (1)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @DaveyAlcatraz 

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>
  .t-product .price{
     font-size: 30px !important;
     font-weight: 900 !important;
    color: #BC6C25 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

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 8 (8)

Dan-From-Ryviu
Shopify Partner
9136 1828 1863

Hi @DaveyAlcatraz 

You can try to add this code to Custom CSS in Online Store > Themes > Customize > Theme settings 

.t-product .price { font-size: 28px; color: #4eabe9; }

- Helpful? Like and Accept solution! ‌Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @DaveyAlcatraz 

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>
  .t-product .price{
     font-size: 30px !important;
     font-weight: 900 !important;
    color: #BC6C25 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

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
DaveyAlcatraz
Explorer
63 0 13

Hi Niraj, thanks for responding! Love this solution, only trouble I'm having is I can't find the word "body" by itself. Just to confirm, is this the line of code you're referring to?

DaveyAlcatraz_0-1722917538008.png

 

niraj_patel
Shopify Partner
2378 514 511

Yes, this is the same line, now </body> is closing, paste it.

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
BSSCommerce-B2B
Shopify Partner
1199 311 369

scroll down to the bottom to find close body tag

BSSCommerceB2B_0-1722917819998.png

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
niraj_patel
Shopify Partner
2378 514 511

thanks to guide him @BSSCommerce-B2B 😊

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
BSSCommerce-B2B
Shopify Partner
1199 311 369

😍 It's such my honor to help, bro @niraj_patel @DaveyAlcatraz  😍

Have a nice day! ^^

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

BSSCommerce-B2B
Shopify Partner
1199 311 369

HI @DaveyAlcatraz , 

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1722917796048.png

 

Step 2: Search for the file theme.liquid. And add this code snippet before tag </head> or </body>: 

<style>
  .t-product .price {
    font-size: 28px !important;
    color: #BC6C25 !important;
  }
</style>

 

Step 3: Save your code and reload this page.

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency