Change text colour in Keyword cloud widget

rqphotographyrqphotography Registered Users Posts: 2 Beginner grinner
edited February 9, 2014 in SmugMug Customization
Hello.

I'm trying to change the colour of the keywords in the cloud by using CSS in the theme. I'm using the following code:


.sp-page-widget-4325628 .sm-page-widget-body {
color: red
}


Can anyone please help me? This is my website http://rqphotography.smugmug.com/Search

Thanks!

Comments

  • phaserbeamphaserbeam Registered Users Posts: 452 Major grins
    edited February 9, 2014
    I don't think that this is possible... even if you add a simple code like this:
    a { color:red!important }
    

    which will show all links in red color the links in the keyword cloud stay black/gray. And the keywords shown here are simple hyperlinks.

    Not sure but i think the color is done using javascript which can not be changed. The color is also not always "black" or "white"... the color depends if the keyword is in front or on the back of the keyword cloud.
  • Hikin' MikeHikin' Mike Registered Users Posts: 5,467 Major grins
    edited February 9, 2014
    phaserbeam wrote: »
    I don't think that this is possible... even if you add a simple code like this:
    a { color:red!important }
    
    which will show all links in red color the links in the keyword cloud stay black/gray. And the keywords shown here are simple hyperlinks.

    Not sure but i think the color is done using javascript which can not be changed. The color is also not always "black" or "white"... the color depends if the keyword is in front or on the back of the keyword cloud.

    I think you're correct. I tried it last night and I gave up. I'm thinking it's a Javascript thing too. ne_nau.gif
  • rqphotographyrqphotography Registered Users Posts: 2 Beginner grinner
    edited February 9, 2014
    Thanks for the help guys. I also couldn't find a way so the only way was to change the general font colour to the one I wanted the cloud to look like and change other fonts specifically.
Sign In or Register to comment.