RocketTheme members please login below:
Username:
Password:
Forgot your password?
Joomla
Forum
RocketWerx
Tutorials
Blog
Labs
Shop
Contact
Home
Help
Rules
Search
Profile
Find out more about the “
Show Off Your Avatar Campaign
”
Search:
Advanced search
212526
Posts in
39845
Topics - Latest Member:
Mihai Capatina
RocketTheme
|
General
|
The Water Cooler
| Topic:
How to make different color text links in modules and body? (SOLVED)
« previous
next »
Pages:
[
1
]
Author
Topic: How to make different color text links in modules and body? (SOLVED) (Read 9086 times)
William E Dooley
Professional
Hero Rocketteer
Offline
Posts: 580
How to make different color text links in modules and body? (SOLVED)
«
on:
March 02, 2007, 09:16:12 PM »
I am having a problem with my text links. It seems that:
table.headlines div.moduletable h3,
.componentheading {
color: #f26522;
}
a:link,
a:visited {
color: #000000;
}
controls the color of text links in both my content area and in my modules in the side bars. Problem is, I have a white content area and blue side bars, but I need white links in the sidebar modules and blue links in the content area!LOL So basically, if I change that to white, the links in my content can't be seen, and if I change it to blue, then my links in the modules on the sidebars can't be seen. So how would I go about giving each one it's own css for color?
Thanks,
David Henderson
«
Last Edit: March 05, 2007, 05:49:40 AM by Yves
»
Logged
Dan L
Global Moderator
Hero Rocketteer
Offline
Posts: 1402
Gloucestershire, UK
Re: How to make different color text links in modules and body?
«
Reply #1 on:
March 03, 2007, 12:49:58 AM »
You will need to target the a:link elements, something like this should work:
Code:
.moduletable a:link,
.moduletable a:visited {
color: white;
}
Logged
http://www.toolboxcreations.com
- Joomla! website & custom template services
http://www.jootheme.com
- Custom Joomla! templates in just 5 days!
William E Dooley
Professional
Hero Rocketteer
Offline
Posts: 580
Re: How to make different color text links in modules and body?
«
Reply #2 on:
March 03, 2007, 08:44:20 AM »
Hmm, I just went through the posts in the water cooler section 3 times looking to see if I got an answer to this post!LOL Never even looked up top, didnt think it would be stickied..luckily I used the see latest posts from my profile and found it:) Now, can I just paste that into my template_css file anywhere? Or does it need to be put under a parent item of some sort? I was about to read the tutorial on how to use module class suffixes, thought maybe that would at least let me give some css styling to the modules individually. Gogin to try pasting what you wrote in the template css file first though, hopefully it's that easy!
Thanks,
David Henderson
Logged
William E Dooley
Professional
Hero Rocketteer
Offline
Posts: 580
Re: How to make different color text links in modules and body?
«
Reply #3 on:
March 03, 2007, 09:20:20 AM »
A million thanks Dan! That worked exactly how I wanted! One other question on the same topic. This module has a little title on it produced from PHP, it's a boring dull grey, and I need that to also be white, any idea how? Here is the syntax that makes the text title just incase you need it to know what type of title I am talking about because it is not the module title, it is much smaller and fits my needs better on this module:)
<label for="shop_search_field"><?php echo $VM_LANG->_PHPSHOP_PRODUCT_SEARCH_LBL ?></label>
and that makes a nice small title of Product Search above the search box..but it's a dull grey, and i need it to be white:)
Thanks,
David Henderson
Logged
William E Dooley
Professional
Hero Rocketteer
Offline
Posts: 580
Re: How to make different color text links in modules and body?
«
Reply #4 on:
March 03, 2007, 04:13:02 PM »
Ok, I found that it was getting it's styling from a place labeled body, so I copy and pasted tat syntax and replaced body with .moduletable and all is good:)
Logged
Pages:
[
1
]
RocketTheme
|
General
|
The Water Cooler
| Topic:
How to make different color text links in modules and body? (SOLVED)
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
General
-----------------------------
=> General Discussion
=> The Water Cooler
=> Member Sites
=> Apple/Mac
=> Free/GPL/Tutorials Discussions
=> FAQs
===> General FAQs
===> Joomla Club FAQs