How to keep the caption text from displaying a:link styles when the image is linked?

scott859 - February 16, 2009 - 03:31
Project:Image Caption
Version:6.x-2.3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Greetings,

I'm using the Image Caption module with Lightbox2 and am trying to find out how to keep the caption text from taking on the a:link style.

In other words, how to keep the caption text from displaying a:link styles when the image is linked?

I've tried modifying the image caption CSS (.image-caption a:link), without success.

If anyone can give me any insight into how to accomplish this, it would be very much appreciated.

Thank you in advance,

Scott

#1

scott859 - February 16, 2009 - 03:39

Greetings again,

I just found the answer to my question...

Simply add the rules directly to the ".image-caption{}" class and that solves the issue.

For example,

.image-caption{
text-decoration: none;
color:#666666;
font-weight: normal;
}

This will over-ride the a:link styles for the caption text.

Scott

 
 

Drupal is a registered trademark of Dries Buytaert.