Change "From" Text In Collected Galleries - Aaron Meyers

In Collected Galleries, Change "From" Text

In collected galleries the word "From" a link back to the original gallery is listed on the page. In Legacy SmugMug it used to say "View in original gallery: ". If you would like to change the "From" to something else, use this code: Add the following code to your theme's Advanced CSS settings, or if you use multiple themes, add to a CSS block in your "All Galleries" section:

/* Hide the word "From:" by making it transparent */
.sm-tile-info .sm-text-mini {
  color: transparent;
}

/* Add the words "View in original gallery: " */
.sm-tile-info .sm-text-mini:before {
  content: 'View in original gallery: ';
  color: #FFFFFF !important;
}

/* Move the link to the left so it hides where the word "From" was */
.sm-tile-info .sm-text-mini a {
  margin-left: -28px;
  
  /* Move the link down 1 pixel so it aligns properly */
  position: relative;
  top: 1px;
}

/* The above code makes the link also show the 'VIew in original ...' text. Prevent that from repeating */
.sm-tile-info .sm-text-mini a:before {
  content: '' !important;
}
You can change the text where it says "View in original gallery" to whatever you want. You may also change the color and size of the text. From: http://www.dgrin.com/showthread.php?p=1919277#post1919277

Comments

Powered by SmugMug Log In