Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file How to change the title font size & color

More
12 years 4 months ago #647 by adyjob
I wonder how to change the title font color as well as the font size.

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago - 12 years 4 months ago #649 by admin
Hello,
you have to use CSS in order to do that.
For the title, you need to overload the properties of the class .newstitle.
You need to add something like this to your template:
.newstitle {
font-size: 12px !important;
color: #000000;
}

Olivier.
Last edit: 12 years 4 months ago by admin.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #673 by adyjob
I'm sorry, i can't follow you. The template you mention is my own template or the module template of the latest news enhanced.

Sorry, I'm new to this. It is the module with the style.css.php that i need to change the code?

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #674 by admin
I was talking about your website's template.
Good practice would be to add or modify the CSS properties of any of your extensions at the template level, so that when updating extensions, it does not override your modifications.
Do not modify style.css.php, add the previous suggestions to a separate file in your template's CSS directory, and call that file from your template, in index.php.

Olivier.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #681 by adyjob
Sorry Dear Admin, this is too hard for me as a newbie for CSS thing.
I had create a file say lne.css in my website template and insert the syntax

.newstitle {
font-size: 12px !important;
color: #000000;
}

My problem is how to call that file? and the index.php that you mention is from where? the latest news module?

Please advise if possible. Thank you

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #684 by admin
I would suggest you look at the Joomla!'s website to find information on how to modify a template.
I do not know which template you are using, but you will find the index.php file under your Joomla!'s root directory /templates/your_template_name_here.
In there, there will be calls to CSS files. Just add your own in it, the same way it is already done.

Olivier.

Please Log in or Create an account to join the conversation.