Change the Colors of the Caption Links

By default SmugMug does some strange things with links and their hover colors: there's no standard color for every part of your page. I had to customize different sections based on how I wanted them. In your phtoo captions, if you would like to set the color of your links, and the color for the mouse-hover, use this. Add the following code to your theme's Advanced CSS settings:

/* Set the caption link color to orange */
.sm-tile-info a {
  color: #f36f21 !important;  
}

/* Set the caption hover to white */
.sm-tile-info a:hover {
  color: #FFFFFF !important;
}

Comments

  • Naomi Blinick

    on November 3, 2016

    Is there a way to change the appearance of hyperlinks in a regular text block? I have my accent color set to white for use in my homepage (which has a slideshow background) but my main site has a white background, so hyperlinks don't show a text block. This script doesn't seem to work, I'm guess because the links I have are not in a caption.

Powered by SmugMug Owner Log In