Found what you have been looking for?

Search
Generic filters
Exact matches only
Filter by Categories
Customization
Domains
Lightroom Plugin
Tools and Tips

Change the BUY button label in Lightbox view

You can change the BUY photo label in the LIGHTBOX { large image } view in your galleries by adding a CSS content block to either ALL GALLERIES or ENTIRE SITE section of your site and then add this code to it:

/*Replace the BUY label in lightbox view*/
.sm-lightbox-buy-button .sm-button-label {
    display: none !important; /*This code hides the default BUY label*/
    }
    
.sm-lightbox-buy-button:after {
   content:" BUY PHOTO" !important;  /*This code replaces the default BUY button with your own label*/
   }

buy button, label, lightbox


Tomasz Nowicki

My name is Tomasz Nowicki and I am a PHOTOGRAPHER and WEB DESIGNER based in the UK. Few years ago I have created my first website using SmugMug - a powerful platform for any type of photographer. I fell in love with it and from day one I have started exploring the possibilities of customizing my website. PHOTOM Portal is a my personal SmugMug knowledge base website where you can find some tips and tricks on how to use and get the most out of your SmugMug website.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.