- This topic has 13 replies, 3 voices, and was last updated 3 years, 7 months ago by
David.
-
AuthorPosts
-
February 3, 2022 at 3:46 am #2103683
Ceramica Sud Curlante
Salutations,
I would like to know if it is possible to change the size of the description of the single product.or show only the first 300 characters of text.
February 3, 2022 at 5:08 am #2103759David
StaffCustomer SupportHi there,
Is this for the Description in the Tab on ALL Single Products ?
February 3, 2022 at 8:52 am #2104111Ceramica Sud Curlante
YES for the Description in the Tab on ALL Single Products!
February 3, 2022 at 9:01 am #2104121David
StaffCustomer SupportI looked at some of your products and they contain HTML Content not just plaint text:
https://www.screencast.com/t/47Nf4XmJ3
I don’t know of a method to trim that content to 300 characters or words as it is a mixture of HTML.
February 3, 2022 at 9:05 am #2104133Ceramica Sud Curlante
is possible to change only the size of the description of the single product?
February 3, 2022 at 9:17 am #2104156David
StaffCustomer SupportSize is a bit ambiguous – are you wanting to hide some of the content or reduce the text size or something else ?
February 4, 2022 at 10:11 am #2105494Ceramica Sud Curlante
You told me that you cannot block the display of the text partially.
So I’m asking you if I can reduce the font size of the text.
——————————————-
In Italy in Palermo it is said ..Either you are inside
Or if you are outside 🙂
——————————————–February 4, 2022 at 10:22 am #2105505David
StaffCustomer SupportI cannot say if this will work as most of your text has inline styles and mixed HTML, but try adding this CSS:
#tab-product-description .description p, #tab-product-description .description em, #tab-product-description .description strong, #tab-product-description .description span { font-size: 14px !important; }February 4, 2022 at 10:29 am #2105513Ceramica Sud Curlante
Ok it works, I congratulate you, you are always excellent Davide.
thank you very much.
Ok, did you like the nursery rhyme about Palermo? 🙂
February 4, 2022 at 10:43 am #2105531David
StaffCustomer SupportGlad to hear that!
And yes i did 🙂
October 5, 2022 at 9:17 am #2364317Ceramica Sud Curlante
I ask if it is possible to make the text devoid of html or to force the size of the text. The code works but some bold print is larger
#tab-product-description .description p,
#tab-product-description .description em,
#tab-product-description .description strong,
#tab-product-description .description span {
font-size: 14px !important;
}October 5, 2022 at 6:06 pm #2364651Fernando Customer Support
Hello there,
One factor in the size difference is because some text have a different font-family.
To make them identical, try updating the CSS to this:
#tab-product-description .description p, #tab-product-description .description em, #tab-product-description .description strong, #tab-product-description .description span { font-size: 14px !important; font-family: Tahoma, Verdana, Helvetica !important; }Replace the
font-familyto your preference.October 8, 2022 at 12:54 am #2366828Ceramica Sud Curlante
I’ve noticed that it works in everything except for underlined and bold words
October 8, 2022 at 6:38 am #2367017David
StaffCustomer SupportTry this:
#tab-product-description .description :is(p, em, strong, li, span, div, a) { font-size: 14px !important; font-family: Tahoma, Verdana, Helvetica !important; font-style: normal !important; font-weight: 600 !important; } -
AuthorPosts
- You must be logged in to reply to this topic.