Remove Fullscreen Button - Aaron Meyers

Remove Fullscreen Button

If you would like to remove the "Fullscreen" button from the lightbox, use the following code. Note: The "Fullscreen" button is not shown in Chrome because the browser default settings has fullscreen viewing disabled. This is not a SmugMug bug. The Fullscreen icon will only be shown, if it was enabled, in Firefox, Safari, IE, etc. Add the following CSS code to your theme's Advanced CSS settings:

/* Remove the full-screen button */
.sm-lightbox-expand {
  display: none;
}

Comments

Powered by SmugMug Log In