Forum Support

 
Advanced Search


[1]

Offline capstone
Free Member
Posts: 66
Posted on: June 11, 2014, 08:52:57 PM

Hello!

I would like to have the links site-wide be underlined and a different color than the surrounding text.  Is there a straightforward way to accomplish this without having to edit each item manually?

Thanks!

Brian
Logged

Offline mikenicoll
Free Member
Posts: 20162 WWW
Posted on: June 16, 2014, 02:35:21 PM

Hello,

The problem with changing "all" the links is it would affect things like the menu links, login/register links, article links, extension links etc where you may want different colors. You could do this by using a !important call such as

a {
color:#ff0000 !important;}

But I would recommend doing this on a case by case basis by using firebug to find specific links you want to change.

-Mike
Logged

Offline tabennett5
Free Member
Posts: 6
Posted on: January 03, 2018, 03:33:41 PM

Is there a way to format the hyperlinks in articles to be highlighted?
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: January 04, 2018, 02:14:39 PM

With a background color I'm guessing you are saying? Yes you can do it with something like the below. Just add it to your custom.css file:

Code:
#s5_component_wrap a {
background:#fbedac;
color:#00000 !important;}
Logged

Offline tabennett5
Free Member
Posts: 6
Posted on: January 05, 2018, 03:58:43 PM

Thanks for the response.  I'm not sure of the terminology, but is there a listing somewhere of the "elements" such as "#s5_component_wrap" that are available in a template and their scope?
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: January 08, 2018, 12:42:03 PM

These are just DIV ID's that we used in our framework. We haven't documented them as there really isn't a need outside of internal things. I added the ID so that only article links would get the highlighted color vs the entire site (like menu items, etc).
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.021 seconds with 22 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.