Shape 5

Joomla Templates => CleanOut - Club => : capstone June 11, 2014, 08:52:57 PM



: Would like to change link styles
: capstone 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


: Re: Would like to change link styles
: mikenicoll 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


: Re: Would like to change link styles
: tabennett5 January 03, 2018, 03:33:41 PM
Is there a way to format the hyperlinks in articles to be highlighted?


: Re: Would like to change link styles
: jonahh 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:

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


: Re: Would like to change link styles
: tabennett5 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?


: Re: Would like to change link styles
: jonahh 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).