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*/
}

.sm-lightbox-v2-photo-buttons .sm-lightbox-buy-button {
  display: none;
}

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.

Support this PORTAL

I am writing this portal in my free time and I pay for it myself. So, if you want to support my work – use this button to buy me a coffee 🙂 Which will help towards the hosting costs of the portal.