Archived topic
What is the easy way to change the font size?
3 replies · Started by Juned on December 21, 2021
Viewing posts 1–4 of 4
Hi,
I want to change the font sizes of WooCoommerce single product pages content only: H1, H2, H3, H4, H5, H6 and Paragragh. What is the easiest way to do it? Is there any css for it?
I tried it from Typography on my live site, but it changes lots of other places fonts also.
Thank you.
Hi there,
you can use some CSS for example the H1 on the single product template:
.single-product h1 {
font-size: 40px;
font-weight: 700;
}
Simply repeat it for each h tag:
.single-product h2 {
font-size: 28px;
font-weight: 400;
}
etc...
Thank you very much.
You're welcome
This archived topic is closed to new replies.