Need CSS For Increasing Product Description & Short Description Font Size?

silumantu

Member
Oct 9, 2019
169
23
18
I am using woodmart theme. I do not want to use its typography setting for increasing font size as it works site wise. I want to increase the product description size to 16px only.

Previously I was using this CSS which was working fine:

.single-product div#tab-description p {
font-size: 16px;
}

But now this is not working, may be after the woodmart theme update.

Any idea of which CSS to use to increase product description font size?
 

silumantu

Member
Oct 9, 2019
169
23
18
If you can share your actual URL or a demo URL, I can help you with that
Thanks for reply. Plz check this demo site: (Link Removed by myself)

I need css for increase product description & short description size to 16px.
 
Last edited:

guguk

Well-known member
Jul 19, 2019
1,150
828
113
Ottoman Empire
I am using woodmart theme. I do not want to use its typography setting for increasing font size as it works site wise. I want to increase the product description size to 16px only.

Previously I was using this CSS which was working fine:

.single-product div#tab-description p {
font-size: 16px;
}

But now this is not working, may be after the woodmart theme update.

Any idea of which CSS to use to increase product description font size?
Try this one:
.woocommerce-product-details__short-description {font-size:16px}
 

silumantu

Member
Oct 9, 2019
169
23
18
Try this one:
.woocommerce-product-details__short-description {font-size:16px}
Actually I am already using that css for short description & it is working.

Also this simple css below is also working in short description:
p {
font-size:16px;
}

What I need is to increase the size of normal product description? Any CSS Idea?
 

guguk

Well-known member
Jul 19, 2019
1,150
828
113
Ottoman Empire
You are using a builder for description I think ,and you need to create class names for your elements and give what you want a size of font for that section.
 

silumantu

Member
Oct 9, 2019
169
23
18
You are using a builder for description I think ,and you need to create class names for your elements and give what you want a size of font for that section.
I am not using any builder (ex: elementor) for description. I am using same classic editor. Plz check this demo link: (Link Removed by myself)
 
Last edited:

silumantu

Member
Oct 9, 2019
169
23
18
OK, if you dont use any builder try this one:
.wc-tab-inner {font-size: 16px;}
if it did not work please add " !important"

This did not worked: .wc-tab-inner {font-size: 16px;}

But this worked in increasing description font size: .wc-tab-inner {font-size: 16px;} !important

But after using this I got another issue. I was using below CSS for increasing font size of short description & normal page text.

.woocommerce-product-details__short-description p {
font-size: 16px;
}

p {
font-size:16px;
}

But after using this: .wc-tab-inner {font-size: 16px;} !important ; the above CSS for short description & page text is not working.
 

silumantu

Member
Oct 9, 2019
169
23
18
Finally I found the solution after asking in wordpress's woo support thread.

The below css worked:

.single-product div#tab-description *:not(h1,h2,h3,h4,h5,h6) {
font-size: 16px !important;
}
 

Forum statistics

Threads
69,229
Messages
908,458
Members
237,126
Latest member
skzh6210

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu