My product description is too small and paragraph heading1-6 doesn’t help much.
How to change the font size? I would like a little bigger font size.
I tried several solutions that were offered here adding code to assets/theme-style.scss.liquid or assets/theme-config.scss.liquid didn’t do anything to the description.
@chenle – this seems to be your theme … otherwise a link to your store is always helpful … So, it’s a bit of a guess, but the following CSS should help and give you an idea how to change that font size (according to the code on this page
@chenle - I assumed you were familiar with modifying the CSS-code, as you mentioned already what didn’t work.
All of us - @Kinjaldavra , @suyash1 band I - already mentioned, telling us the link of your store will make an answer much more precise.
As for your question: you may append the code to your assets/theme.(s)css(.liquid) file. Font-size was just an example - you may modify whatever attribute you want. Also, you can append to the selector to add more css blocks in order to target elements within the description, if you need.
Also, for a more bulletproof override of the current settings - without knowing your live code - I would modify the block above for increased specificity:
The headings became ALL in capital letters instead of only the first letter in each word and the rest of the text is still too small (used choosing “paragraph” in editing).
@chenle I would advise against the solution that @Zworthkey posted. The Iimportant flag messes up the specificity much more than it should and that might carry additional and unwanted side effects with it. For example, no matter where on the page, ALL ul, li and strong elements would be forced to be rendered at a font size of 24px (which is not what you were asking for).
I suggest you paste the code I gave you at the BOTTOM of the /assets/theme.(s)css(.liquid)-file. I did softly increase the specificity by a single class-count, but putting it at the end of the file increases the chances of not getting overruled even more; without the hammer of an !important – which in general should be your absolute last resort. CSS is interpreted from the bottom and the first rule that matches with a given specificity will be the one to dictate how elements are rendered.