Re: How to Bold text of product name in collection page?

How to Bold text of product name in collection page?

rzwahmed
Shopify Partner
14 0 3

Question: How to Bold text of product name in collection page?

theme: sense

URL: https://theaairascloset.com/

1.PNG

Replies 5 (5)

RJK90
Shopify Partner
14 2 3

Hi Rzwanhmed,

You can add the font-size:600; to .full-unstyled-link css. Hope! this will help you.

Screenshot-from-2023-11-30-00-00-48.png

rzwahmed
Shopify Partner
14 0 3

Its worked, but

it’s also bold collection name!!!!, that is not looking good. see pic

 

 I don’t want to bold collection name,

I only want to bold product name

2.PNG

RJK90
Shopify Partner
14 2 3

Hi @rzwahmed ,

If you want to apply these changes exclusively to product cards, you can identify the unique class for the product card, which in this case seems to be product-card-wrapper. You can modify the CSS as follows:

Remove the font-size: 600; from the .full-unstyled-link class:

 

.full-unstyled-link{
 text-decoration: none;
 color: currentColor;
 display: block;
 font-weight: 600; // Remove this from here
}

 


Then, add the following CSS declaration after the .full-unstyled-link:

 

.product-card-wrapper .full-unstyled-link{
 font-size:600;
}

 

 

Screenshot-from-2023-11-30-23-30-56 (1).png

Hope! this will helps you.

RJK90
Shopify Partner
14 2 3

Hi @rzwahmed,

If you want to apply these changes exclusively to product cards, you can identify the unique class for the product card, which in this case seems to be product-card-wrapper. You can modify the CSS as follows:

Remove the font-size: 600; from the .full-unstyled-link class:

.full-unstyled-link {
    text-decoration: none;
    color: currentColor;
    display: block;
    font-weight: 600; // Remove it
}


Then, add the following CSS declaration after the .full-unstyled-link:

.product-card-wrapper .full-unstyled-link{
  font-weight:600;
}


Hope! This will helps you.

Made4uo-Ribe
Shopify Partner
10202 2422 3068

Hi @rzwahmed 

check 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-template--19171982442778__main-collection-product-grid-padding .card__heading {
    font-weight: 900 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1701283398383.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.