Need custom Hyperlink text color in galleries
guy
Registered Users Posts: 191 Major grins
So I've come across a bit of a problem with hyperlink text color in gallery & photo descriptions. If I leave the text set to theme default then the hyperlinks are highlighted.
However if I change the theme text color then the hyperlinks are exactly the same color & the theme does not have an option to set hyperlink color differently.
Here is an example:
http://guy.smugmug.com/Plantmad/Plantmad-Plants/Wisteria
The Wisteria names in the gallery description are hyperlinks but that is not obvious! I also need obvious hyplerlinks in photo descriptions.
Is there a way I can do this with CSS & if so can someone help me out?
Thanks.
However if I change the theme text color then the hyperlinks are exactly the same color & the theme does not have an option to set hyperlink color differently.
Here is an example:
http://guy.smugmug.com/Plantmad/Plantmad-Plants/Wisteria
The Wisteria names in the gallery description are hyperlinks but that is not obvious! I also need obvious hyplerlinks in photo descriptions.
Is there a way I can do this with CSS & if so can someone help me out?
Thanks.
0
Comments
- gallery description - http://www.denisegoldberg.com/Travel/Acadia-and-October-2013/Wandering-downeast-Maine
- photo caption - http://www.denisegoldberg.com/Travel-stories/Wandering-assisted-by-2-feet
It sounds like you might want to do something similar but for links. I'm not sure if you'll be happy changing all links though because it would change the links on your entire site. Instead of referencing hover you would need similar CSS for link. Available css pseudo classes can be seen at http://www.w3schools.com/css/css_pseudo_classes.asp.--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks Denise, when I put this code into my theme it worked but when I tried to alter it to simply change the color of the hyperlink it broke! guess I didn't have something in the right place!
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
P.
Still playing around with it, I tried a few versions of this:
.sm-page-content a :link, a:link {
text-decoration: bold !important;
text-decoration: underline !important;
color: aquamarine;
}
But got some very strange results so I removed it, even though I had it in the theme CSS is would work in some galleries but not in others with the same theme.
I'll play with it some more or maybe give up & move on to something else!
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com