Change Photo Title and Caption Fonts

If you want to change the font, color, font-size, etc of your title and captions use the following code. Add the following CSS to your theme's Advanced CSS settings:

In the Gallery:

/* Change the title font */
.sm-tile-title {
   color: #FFFFFF !important; /* Set the title color to white */
   font-size: 12px; /* Set the font size */
}

/* Change Font Size/Color of Caption in Gallery */
.sm-page-layout-region .sm-page-layout-region-center .sm-tile-info {
  color: green !important;
  font-size: 18px;
}

In the Lightbox:

/* Change Lightbox Title */
.sm-lightbox-basic .yui3-widget-ft .sm-lightbox-title {
    color: green;
    font-size: 18px;
}

/* Change Lightbox Captions*/
.sm-lightbox-basic .yui3-widget-ft .sm-lightbox-caption {
    color: blue !important;
    font-size: 18px;
}

Comments

Powered by SmugMug Owner Log In