Closed (duplicate)
Project:
Freelinking
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2007 at 01:45 UTC
Updated:
1 Jul 2008 at 19:18 UTC
I would like to add a class to freelinking so I can style the links. I've tried adding classes to the l functions in the code, but it doesn't seem to have an effect. Where would I make the change so I can add a little flair to my freelinks?
Comments
Comment #1
eafarris commentedReleased 5.x-1.2 and 4.7.x-1.0, which implement classes on freelinks. External freelinks get classes "freelinking external", and internal links get a class of "freelinking."
Please verify and close, and thanks for the request!
Comment #2
lunas commentedWorks great! Thanks.
Comment #3
DooDoo commentedwould you please give some examples of class for freelinking and where to put it in ? such as in bottom of template ?
I have almost zero knowledge about to write class. I try to see some example in template and try to add new style, but could not success.
Thanks in advance for your advice.
Comment #4
eafarris commentedHere's an example from the theme for the forthcoming Drupal 5 version of my site.
Regular links get a solid bottom border, but freelinks get a dotted one. Style definitions like this go into the style.css file in your theme.
Comment #5
DooDoo commentedDear eafarris ,
Many thanks for your advise and example. It work well.
Comment #6
Roulion commentedhello
is there a way to style the freelinks as it is in te wiki :
if there is a content : css.style1
if the content has to be created : css.style2
for example, in mediawiki, the articles that has to be created are in red
thank you for your help
Comment #7
eafarris commentedWhat #6 is asking for is #255443: Different Style for Links.