How can I adjust font size and color in collection sections?

Good morning,

I would like 2 things:

  1. that the prices for the “featured collection” and “collection” sections are displayed in gray (#F2F2F2)

  2. that for the “featured collection” and “collection” sections the product titles be 12px in size and the prices are 10px in size

website : jadis-shop.com

password : rj

Do you know how to do it ?

thank you very much in advance

Hi @JADIS ,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the Change Size And Colors Of Font, let’s try this solution:

Online Store ->Theme ->Edit code->theme.liquid


I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

it doesnt work :disappointed_face:

i dont know about how to code … could you please share me complete code for my website please ?

Have you tried adding to theme.liquid. Can you show me please?

it work but its not what i want …

I want to have

  • the product title (only for featured collection and collections) in size 12px without change the colors

  • The product price (only for featured collection and collections) in size 10px and in #F2F2F2

please

Can you try this code?


with this code there is no change in comparaison with beginning :confused:

Can you add more code?

.price__sale{
	color: #F2F2F2 !important;

}

same… it’s doesnt change anything

Then I am added code. It show as below image

could you tell me and send me total code please and where do i have to put it ?


ok it works thanks !!!

I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.

ok bro just last question before doing that

why only on this one it doesnt work ?

From looking at the code. That specific item looks to be a regularly priced item. It has it’s own font-size of 1.6rem.

And the other items are on sale with a font-size of 12px. Which you applied with the recent code change.

If you want to adjust the size for regular priced items as well. You can probably add with your current code:

.price {
  color: #F2F2F2 !important;
}

Also I’d like to add, adding !important and the placement of the current code can lead to later issues if you continue to customize. Just something to be aware of if you continue to add customizations. It will be harder to track down. This one off is fine though.

Try testing on an anonymous browser