Found what you have been looking for?

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

Hide BUY button everywhere on your SmugMug site

This CSS code will allow you to hide the BUY button everywhere on your SmugMug website. The button will not appear to your visitors and yourself – logged in account owner.

Add a CSS content block to the ENTIRE SITE section and then add this code to it:

/*Hiding all buy buttons*/
.sm-user-ui .sm-gallery-cover-buttons .sm-gallery-cover-buy-button {
  display: none;   /*This code hides the buy button, which appears at the top of your gallery*/
}

.sm-user-ui .sm-gallery-image-tools .sm-button-image-buy {
  display: none;   /*This code hides the buy button, which appears over thumbnails in your gallery*/
}

.sm-user-ui .sm-lightbox-tools .sm-lightbox-buy-button {
  display: none;   /*This code hides the buy button, which appears in the lightbox view*/
}

buy button, buy photos, hide button


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.