HOW TO MAKE PRICE BOLD IN HOMEPAGE

Solved

HOW TO MAKE PRICE BOLD IN HOMEPAGE

Ednadali
Tourist
6 0 1

How do i make the price bold in the home page? i´ve tried some codes but they don´t seem to work. 

Theme: Symmetry

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9666 2300 2869

This is an accepted solution.

Hi @Ednadali 

This will bold all price on the store but not the product page. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

body:not(.template-product) .price__default {
    font-weight: bold;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736633246653.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
9666 2300 2869

Hi @Ednadali 

Please, share your store URL. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Ednadali
Tourist
6 0 1

https://www.onixjoyeria.com/ this is the store url!

DaisyVo
Shopify Partner
2720 327 375

Hi @Ednadali 

 

I hope you are well. You can follow our instructions below, this code can only work for Home page. If you want to check for all pages, please share with me the store link as well.


1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ

 

Here is the code for Step 3:

 

{% style %}
{% if template.name == "index" %}
.price{
font-weight: bold !important;
}
{% endif %}
{% endstyle %}

 

 


Please let me know if it works. Thank you!

 

Best,
Daisy - Avada Support Team.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
Ednadali
Tourist
6 0 1

ah! yes i want it for all pages but i don't want the product name to be bold when you're in the prouct page itself, just before clicking on them does that makes sense? this is my store url https://www.onixjoyeria.com/

Dan-From-Ryviu
Shopify Partner
10777 2130 2251

You can add this code to Custom CSS in Sales Channels > Online Store > Themes > Customize > Theme settings to do that. 

.template-index .product-price--block, 
.template-index .product-price--block .price, 
.template-index .product-price--block .price__default { font-weight: 700; }

 

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: 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.

Made4uo-Ribe
Shopify Partner
9666 2300 2869

This is an accepted solution.

Hi @Ednadali 

This will bold all price on the store but not the product page. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

body:not(.template-product) .price__default {
    font-weight: bold;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736633246653.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Ednadali
Tourist
6 0 1

thank you! it worked!

Made4uo-Ribe
Shopify Partner
9666 2300 2869

Welcome! Would you mind hitting 'like' as well? Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.