Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

How to change the title font size & color

  • adyjob
  • adyjob's Avatar Topic Author
  • New Member
  • New Member
More
IP: 175.140.144.9 14 years 4 months ago #647 by adyjob
I wonder how to change the title font color as well as the font size.
More
IP: 109.211.22.242 14 years 4 months ago - 14 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: 14 years 4 months ago by admin.
  • adyjob
  • adyjob's Avatar Topic Author
  • New Member
  • New Member
More
IP: 110.159.10.153 14 years 4 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?
More
IP: 109.211.22.242 14 years 4 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.
  • adyjob
  • adyjob's Avatar Topic Author
  • New Member
  • New Member
More
IP: 219.92.190.190 14 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
More
IP: 109.211.24.144 14 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.