- Posts: 6
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
-
Topic Author
- New Member
-
Less
More
IP: 175.140.144.9
14 years 4 months ago #647
by adyjob
How to change the title font size & color was created by adyjob
I wonder how to change the title font color as well as the font size.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 109.211.22.242
14 years 4 months ago - 14 years 4 months ago #649
by admin
Olivier.
Replied by admin on topic Re: How to change the title font size & color
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;
}
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
-
Topic Author
- New Member
-
Less
More
- Posts: 6
IP: 110.159.10.153
14 years 4 months ago #673
by adyjob
Replied by adyjob on topic Re: How to change the title font size & color
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?
Sorry, I'm new to this. It is the module with the style.css.php that i need to change the code?
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 109.211.22.242
14 years 3 months ago #674
by admin
Olivier.
Replied by admin on topic Re: How to change the title font size & color
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.
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
-
Topic Author
- New Member
-
Less
More
- Posts: 6
IP: 219.92.190.190
14 years 3 months ago #681
by adyjob
Replied by adyjob on topic Re: How to change the title font size & color
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
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
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 109.211.24.144
14 years 3 months ago #684
by admin
Olivier.
Replied by admin on topic Re: How to change the title font size & color
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.
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.
