By Michel777 on Saturday, 09 February 2019
Posted in General Issues
Replies 6
Likes 0
Views 503
Votes 0
Hi,

I need your help: I could not find in the documentation how to set different fonts (color) for category names.

Thanks in advance,

Michel
Hm, I don't really know which category are you referring to. Can you please advise?

By the way, changing a font color is merely about using css and I don't see a need to create a documentation for that.
·
Saturday, 09 February 2019 14:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

thanks a lot for your effort, especially on the weekend ! I mean the marked categories (s. categories.png). Requirement: Each of them should be have own font color.

E.g.

Thoughts - green
Story - red
Quotes - gelb

additionally should they have different background color.

Is there any way to set it on a central place ?

Thanks Michel
·
Saturday, 09 February 2019 23:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

In order to change the text color for each of the categories, you need to download and paste the attached default.main.php file into the template override location which is at JoomlaFolder/templates/yourCurrentTemplate/html/com_easyblog/blogs/latest/default.main.php.

Then, you need to add the following CSS code into your Backend > Themes > Custom CSS:
For an example, you want to change the text color of category 'Quotes' and 'Story'


body #eb .eb-post-meta a[title="Quotes"] {
color: #ffffff;
background:#ffffff;
}


body #eb .eb-post-meta a[title="Story"] {
color: #ffffff;
background:#ffffff;
}


Do take note that you need to change the color code to the color that you want.

Do clear all of your cache before you see the changes.

Can you have a try and see how it goes?
·
Monday, 11 February 2019 16:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post