Uniform text

Hello everybody,

through the app I have different text widgets which somehow show different size or style. I havent change anything in Font or Layout and they all have the same as below. How can I have an uniform text (in font and size). Is it a good idea to change the 'size' from 100% to px values? What would be best practice to have a uniform text

Solution

Hi Gerantina ,

I hope this will be helpful to you. Please use below CSS.


html { font-size: 17px !important; }

@media (max-width: 900px) { html { font-size: 15px !important;} } 

@media (max-width: 400px) { html { font-size: 13px !important; } }

Regards
--RJ--


Yes, you can uniform the text by changing the font size, but remember is a best practice not to use inline styles, instead of inline styles use classes on the Style Classes. 

You can use for example headings, that can give a proper heading style to your content. Or you can for example give "font-size-s" or "font-size-base"

Regards,

Márcio C.

Solution

Hi Gerantina ,

I hope this will be helpful to you. Please use below CSS.


html { font-size: 17px !important; }

@media (max-width: 900px) { html { font-size: 15px !important;} } 

@media (max-width: 400px) { html { font-size: 13px !important; } }

Regards
--RJ--


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.