Changing Link Color
Best Joomla template with unique design which fits perfectly with car, gaming, business, portal or blog type websites
- GK User
- Fri Apr 23, 2010 9:32 pm
Hello,
I want to assign a link color to one of the modules in my homepage. Currently the module inherits the link color specifications from the template CSS itself. I want to know how I would go about in writing a CSS for this module.
You'll notice that ALL of the links on the website entail a blue color to them which is fine, this particular module (News Feed) I need to be in a black color.
Your help is much appreciated. Thank you!
http://img213.imageshack.us/img213/3190/linksl.jpg
http://tinyurl.com/ygq76kv
I want to assign a link color to one of the modules in my homepage. Currently the module inherits the link color specifications from the template CSS itself. I want to know how I would go about in writing a CSS for this module.
You'll notice that ALL of the links on the website entail a blue color to them which is fine, this particular module (News Feed) I need to be in a black color.
Your help is much appreciated. Thank you!
http://img213.imageshack.us/img213/3190/linksl.jpg
http://tinyurl.com/ygq76kv
-
- Fresh Boarder
- GK User
- Fri Oct 15, 2010 12:18 pm
I have the same problem.
Are there any solutions?
Are there any solutions?
-
- Fresh Boarder
- GK User
- Fri Oct 15, 2010 12:33 pm
Without any homepage to see the module in action it's hard to say. Please give a link to your homepage and show which links should have another color.
-
- Senior Boarder
- GK User
- Sun Oct 17, 2010 4:00 pm
RaceMaker wrote:
Homepage: http://hof-jokers.de/start/
Links to change are the e-mail links, like on this site:
http://hof-jokers.de/start/component/co ... -impressum
On the first entry, i help me with a picture for the link.
But on the second entry "e.mail: " the mailadress is white and not black.
Thank you.
Without any homepage to see the module in action it's hard to say. Please give a link to your homepage and show which links should have another color.
Homepage: http://hof-jokers.de/start/
Links to change are the e-mail links, like on this site:
http://hof-jokers.de/start/component/co ... -impressum
On the first entry, i help me with a picture for the link.
But on the second entry "e.mail: " the mailadress is white and not black.
Thank you.
-
- Fresh Boarder
- GK User
- Sun Oct 17, 2010 4:00 pm
RaceMaker wrote:
Homepage: http://hof-jokers.de/start/
Links to change are the e-mail links, like on this site:
http://hof-jokers.de/start/component/co ... -impressum
On the first entry, i help me with a picture for the link.
But on the second entry "e.mail: " the mailadress is white and not black.
Thank you.
Without any homepage to see the module in action it's hard to say. Please give a link to your homepage and show which links should have another color.
Homepage: http://hof-jokers.de/start/
Links to change are the e-mail links, like on this site:
http://hof-jokers.de/start/component/co ... -impressum
On the first entry, i help me with a picture for the link.
But on the second entry "e.mail: " the mailadress is white and not black.
Thank you.
-
- Fresh Boarder
- teitbite
- Mon Oct 18, 2010 12:31 am
-
- Moderator
- GK User
- Mon Oct 18, 2010 2:27 pm
teitbite wrote:
Thanks, but this code change the global color, right?
The mainbody of my site is white.
But on some static articels i use black as text color.
And on thise articels (ID 137) the link color should be also be black.
I need a way to tell CSS if articel ID = 137 (witch inkludes black text) then link color = black.
I thise possible with Joomla / CSS ?
Thanks, but this code change the global color, right?
The mainbody of my site is white.
But on some static articels i use black as text color.
And on thise articels (ID 137) the link color should be also be black.
I need a way to tell CSS if articel ID = 137 (witch inkludes black text) then link color = black.
I thise possible with Joomla / CSS ?
-
- Fresh Boarder
- teitbite
- Tue Oct 19, 2010 11:17 am
Hi
It's possible with php:
It's possible with php:
- Code: Select all
<?php if(Itemid=137){?>
<style type="text/css">
div#mainbody a {
color:#FFFFFF;
}
</style>
<?php } ?>
-
- Moderator
- GK User
- Tue Oct 19, 2010 3:13 pm
Can you please give me 2 hints?
Witch file is to change?
Witch position?
Thank you
Witch file is to change?
Witch position?
Thank you
-
- Fresh Boarder
- teitbite
- Thu Oct 21, 2010 10:49 am
Hi
I think the best place will be index.php (in temlpate folder) somewhere around <body> tag.
I think the best place will be index.php (in temlpate folder) somewhere around <body> tag.
-
- Moderator
10 posts
• Page 1 of 1