menu tree color change

mjkmedia
mjkmedia's picture

Joined: 2006-08-28
Posts: 7
Posted: Wed, 2014-02-26 17:40

is there a way to highlight only one album in red text versus changing them all?
tried putting it in the name, no luck.

attached is an image of what I am trying to accomplish

Gallery version:2.2.6

AttachmentSize
galleryss.jpg145.83 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-02-26 21:08

I guess one could use CSS selectors:
a[href="http://EXAMPLE.com/test"] { color: red; }

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mjkmedia
mjkmedia's picture

Joined: 2006-08-28
Posts: 7
Posted: Wed, 2014-02-26 23:35

would you put that in the title of the album or in the actual code?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-02-27 02:20

in your css

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-02-27 02:32

forgot about the $
a[href$="http://EXAMPLE.com/test"] { color: red; }

more info:http://stackoverflow.com/questions/3859101/what-does-ahref-do-in-css

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team