This topic has 17 replies, 4 voices, and was last updated 7 years, 9 months ago ago by Olga Barlow
I can’t seem to find a Global setting for Font Size and Line Height? In the Admin Panel I see a Font Size/Line Height adjustment in 8Theme Options > Typography > Page > Body Font but this only changes it in a very small section of 1 page.
Thanks.
Hello,
But it is impossible to make every font size and line height be changed only with one option. In this case you will get ALL texts on the site absolutely equal by size. Sorry, but there is no such option in our theme.
Regards
Ok. How would I change font size and line height for just the Product Short Description? And content within the Product Tabs? These are the 2 areas I am mainly interested in?
Thanks.
Hello,
Use the custom CSS area to make such changes and the following code
.product-information p, .product-info-wrapper p, .product-summary-center p {
line-height: 1.5;
font-size: 0.8rem;
}
.woocommerce-tabs p {
line-height: 1.5;
font-size: 0.8rem;
}
Change the values according to your needs.
Regards
This does great for the Short Description. It makes appropriate changes everywhere except the Product Description tab. There it only changes the line height/font size for the first paragraph. Beyond that, no changes. I had this same problem when trying to make adjustments in the Admin Panel.
Thanks.
Also, I thought these changes to the Short Description would also change in the Shop Page List View but it doesn’t. How can I make same line height/font changes to Short Description when they displayed on the List View on Shop Page?
thanks.
Hello,
Change this code:
.woocommerce-tabs p {
line-height: 1.5;
font-size: 0.8rem;
}
to:
.woocommerce-tabs p, .woocommerce-tabs li, .woocommerce-tabs span {
line-height: 1.5;
font-size: 0.8rem;
}
also use this code:
.main-products-loop .products-list .product .product-details .product-excerpt {
line-height: 1.5;
font-size: 0.8rem;
}
Regards
The css code worked It changes text and line spacing throughout the single product page and the short desription that shows up on the shop page.
Thanks!
You are welcome!
Regards
OOPS. This works EXCEPT when I use a ul bullet list, then the line spacing impact of the css you gave me disappears? Do you have any css changes that allow for line spacing changes even when I use an ul? This is very important because it allows a much cleaner looking Short Description on both the Single Product Page and Shop Page List View.
See the 2 products with ul and the 1 product without.
https://exteriorcoatings.com/category/waterproof-coating-systems/waterproof-coatings/
Thanks as always!
Hello,
.type-product .product-excerpt li, .content .product-excerpt li {
margin-bottom: 0;
line-height: 1.3;
font-size: 1.2rem;
}
Regards
Almost there! This css works on Shop Page BUT does not impact Single Product Page. Please send css to adjust when using ul on Single Product Page.
Thanks!
Hello,
I see. Then replace that code by the following
.type-product .product-excerpt li, .type-product .tab-content li, .type-product .description li {
margin-bottom: 0;
line-height: 1.3;
font-size: 1.2rem;
}
Regards
🙁 It didn’t work. No changes. The Short Descrition on the Shop Page still looks good with your css code to change font/line spacing BUT it did not do the same to the Single Product Page display of the Short Product Description. Still way too much line spacing.
Anymore tricks up your sleeve 🙂
Thanks.
Hello,
Sorry, fixed. Check now.
Regards
Your the best :). It worked! Thanks for the support you and your team offers! For the non-technical your help is absolutely invaluable!!!
You are welcome!
We are always ready to help.
Regards
You must be logged in to reply to this topic.Log in/Sign up