|
|
Re:change link color?
|
|
Date: 2007/08/17 01:53
|
By: beat
|
Status: Admin
|
|
|
Karma: 231  
|
|
Admin  | Posts: 3601 |   | |
|
This is standard mambo/joomla markup. Your site template should have it included...
To change the link color to red, add to your site template:
| Code: | a.mod_login { color:red; }
|
depending on your site template, you may need to define also the visited and hovers, and maybe even the link variants:
| Code: | a.mod_login, a.mod_login:link, a.mod_login:visited, a.mod_login:hover { color:red; }
|
To find out more:
Just install web-developeer tools extension for FireFox, then click on the green checkmark at bottom, inspect, then click on what you want to see and you will understand the markup Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:change link color?
|
|
Date: 2007/08/17 02:47
|
By: mesmer
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 11 |   | |
|
Thanks for posting, Beat, but this doesn't answer my question. Your solution will change the color of links for the entire site, when all I want to do is change the color of links on CB profiles.
If your solution to this is as easy and quick as your other reply, I'll be thrilled!
ken.
|
|
The administrator has disabled public write access. |
|
|
|
Re:change link color?
|
|
Date: 2007/08/17 03:50
|
By: beat
|
Status: Admin
|
|
|
Karma: 231  
|
|
Admin  | Posts: 3601 |   | |
|
Easy...
| Code: | div.cbProfile a { color:red; }
|
or, if needed:
| Code: | div.cbProfile a, div.cbProfile a:link, div.cbProfile a:visited, div.cbProfile a:hover { color:red; }
| Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:change link color?
|
|
Date: 2007/08/17 06:33
|
By: mesmer
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 11 |   | |
|
You ROCK Beat! No wonder CB is the Best of the Best.
Your first piece of code didn't do the trick (it changed the color of the user's name and last login info.
But the second one, inserted in my CB default CSS file, did exactly what I wanted it to.
Much thanks--this was one of those little details that was driving me nuts.
Thanks to Nant, too, for his initial attempts!
ken.
|
|
The administrator has disabled public write access. |
|
|
|
Re:change link color?
|
|
Date: 2007/08/30 15:01
|
By: Mike McKeown
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 8 |   | |
|
intresting read... I really should be fishing...
|
|
The administrator has disabled public write access. |
|
|
|
Re:change link color?
|
|
Date: 2007/08/30 15:19
|
By: ysva
|
Status: User
|
|
|
Karma: 17  
|
|
Gold Joomlapolitan  | Posts: 220 |   | |
|
Isn't the link colour the overal colour for ALL links (as defined in your main template)? It seems really weird to me that they've used a different class for that one link in the package, because cb should sort of fall into your template (that's why it uses sectiontableheader from your main template etc.).
Then if you want to change only that one link to a different colour you'll have to add a new class and implement it in the code.
woops, always check your new pages
Post edited by: ysva, at: 2007/08/30 15:20
|
|
The administrator has disabled public write access. |
|
|