Welcome, Guest
Please Login or Register.    Lost Password?

How to change color of author?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to change color of author?
#496
How to change color of author? 4 Years, 3 Months ago Karma: 0
At the top of each items the name of the author is posted together with the date the item is published.

This is now in the same font as the content of the item. I would like to keep the font but change the color so it has the same color as the title. I have been trying to find out where to do this, but I cannot find it. :(

Can anyone point me in the right direction :huh:

Thanks!
Fair Arie
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#506
Re:How to change color of author? 4 Years, 3 Months ago Karma: 41
Can you post a link to your site so I can be sure I'm giving you the right CSS?
Big Bear
Administrator
Posts: 1004
graph
User Offline Click here to see the profile of this user
Joomla Templates
The administrator has disabled public write access.
 
#508
Re:How to change color of author? 4 Years, 3 Months ago Karma: 41
It's probably going to be the CSS you'll want to edit:

Code:

.small, .createdate 
{
font-size: 90%;
font-style: italic;
}



All you need to do is add a color value to this style - for example:

color: #333333;

So the code would then look like:

Code:

.small, .createdate 
{
color: #333333;
font-size: 90%;
font-style: italic;
}



That is just a random color value I chose - the actual color will depend on the template you are using.
Big Bear
Administrator
Posts: 1004
graph
User Offline Click here to see the profile of this user
Joomla Templates
The administrator has disabled public write access.
 
#520
Re:How to change color of author? 4 Years, 3 Months ago Karma: 0
Thanks! Here is the link.

I checked the layout.css file and found this:

Code:

.createdate {
}



And changed it to

Code:

.createdate 
{
font-style: italic;
color: #66B5FF;
}



Now try to find the author information :cheer: . And can I change the author and create date so that it appears on 1 line? I.e.

Code:

Written by [author], on [createdate].
<br><br>Post edited by: Fair Arie, at: 2008/02/21 09:47
Fair Arie
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#521
Re:How to change color of author? 4 Years, 3 Months ago Karma: 41
Hey thats lookin great!

Did you see the logo I whipped up for you?

Couple of other suggestions -

You can publish the main menu into User 1 and set it to &quot;flat list&quot; which will give you the look seen in the demo.

Also &quot;Nieuws&quot; looks like it's published in User 1 but it will probably look better published &quot;left&quot;.

the &quot;left&quot; position has more padding.
Big Bear
Administrator
Posts: 1004
graph
User Offline Click here to see the profile of this user
Joomla Templates
The administrator has disabled public write access.
 
#522
Re:How to change color of author? 4 Years, 3 Months ago Karma: 0
Yes, I saw the logo. Thanks for that! It is already in there :cheer: .

I will look into the other points you indicated as well.

Did you see the other question? Where can I can change the color of the author and can I put the combined info on 1 line?
Fair Arie
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#531
Re:How to change color of author? 4 Years, 3 Months ago Karma: 41
From memory I think the CSS class that controls the author is

.small

You can combine CSS classes like in my example above by putting a comma between them.

If you want to give one class a unique style - for instance make the author name bold but leave the date normal then you'll need to define the styling in a seperate statement like the following

.small {
font-weight:bold;
}
Big Bear
Administrator
Posts: 1004
graph
User Offline Click here to see the profile of this user
Joomla Templates
The administrator has disabled public write access.
 
#618
Re:How to change color of author? 4 Years, 2 Months ago Karma: 0
All sorted! Thanks a lot for the support.
Fair Arie
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Support
 
JOOMLA TEMPLATES Joomla Templates By JoomlaBear