How can I adjust the font size of a specific paragraph?

I am trying to change only one section’s paragraph font size but I am unable to do so. Every time I change it, all of the other sections that contain paragraph text font are also changed.

I’m not sure how to edit the font sizes of individual paragraph text boxes without changing all of the paragraph text boxes on my web page. Please let me know how, thanks.

2 Likes

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

@zaach
Welcome to the Shopify community!
Thanks for your good question.

Please share your store URL.
So that I will check and let you know the exact solution here.

Hello @zaach

please select the paragraph based on parent section id and apply the css.

Hi @zaach ,

I am Ani From https://www.task4store.com/ - Shopify Small & Custom Tasks Experts ( By MS Web Designer - Top Rated Shopify Certified Experts and eCommerce Consultant from Singapore )

I will love to help you with your concern.

-Kindly Provide your Store Url,
-Also Mention Which Shopify theme you are using

Note: If your store is protected with ‘store Font password’ please Send it here or DM me.

If you have any concerns feel free to ask me!

Regards,
Ani

envurahealth.com is our website URL

Hello @zaach

See how the paragraph based on parent section id can change font size individually

for this above section please try the code at bottom of theme.css inside assets of your theme

#shopify-section-template–15346447548588__1635345697a4638715 p {
font-size: 22px;

}

Hi, that did not fix it. Adding that to the bottom of the theme.css file did not make the font increase.

Do you have any other suggestions? @Niraj_singh

Hi @MS_WEB_DESIGNER our URL is envurahealth.com

And our theme is pipeline

Hello @zaach
It can be possible by custom code on liquid so while adding section you can set the font size from theme customize also without touch the code.

I used:

p {font-size: 18px;}

And that worked for me.