Change Font size of Article in TrustMe Template

6 years 2 months ago #853 by SergioSilva
Hi,

Can you help me to change the font size of articles in your TrustMe template. ( www.grupocoraldeesmoriz.com/ )

Thanks.

Sérgio

Please Log in to join the conversation.

6 years 2 months ago #855 by Adminv
Hi!

The problem is that you use inline HTML code to style your article content.
Inline HTML overwrites the CSS settings, which means your font size is controled by your HTML code added as articles and not by the template.

Thats why you have different sfonts all over your page.

The solution is simple: don´t use inline HTML.
If you copy and past text from another website you also copy and paste the inline HTML code into your joomla article. Thats the most common reason for that behavior. And it could be that you even don´t know that you also add style informations directly into your article/module content. But also if you convert Word docs into HTML you will have the same problem.

To remove it open your article content in your Joomla backend and open the code window (hit the small "html" icon) and past your text here. Than you will just transfere the text, not the included code.

Please Log in to join the conversation.

6 years 2 months ago #857 by SergioSilva
Replied by SergioSilva on topic Change Font size of Article in TrustMe Template
Thank you Holger for your reply.

What i really want is change the font size of the article titles displayed in my front page ( www.grupocoraldeesmoriz.com/ ).

Kind Regards,

Sérgio

Please Log in to join the conversation.

6 years 2 months ago #858 by Adminv
Ah, ok.

Open the templates style.css file and add this class at the bottom:
h2 {font-size:20px;}

Replace "20px" with the font size you need.

Please Log in to join the conversation.

6 years 2 months ago #859 by SergioSilva
Replied by SergioSilva on topic Change Font size of Article in TrustMe Template
Thanks Holger.

Perfect. Great support.

Kind Regards,

Sergio

Please Log in to join the conversation.

Time to create page: 0.123 seconds
Powered by Kunena Forum
Don't have an account yet? Register Now!

Sign in to your account