Change the Right Click Protection Text

If Right Click Protection is enabled in your SmugMug gallery a default set of text will appear. But in many cases this default text is not very personable. If you would like to customize the text to give it a personal flare and to encourage your viewer to buy your photo instead of stealing it, use the following code. Change the 'YOUR Message Here' line next to "content":

/* Custom Right-Click Protection */
.sm-user-ui .sm-right-click-message:after {
  content: 'YOUR Message Here!';
}

/* Disable the default Right Click Protection Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
  display: none;
}

Stylizing your Right Click Protection Tooltip Menu

You can change the way the tooltip menu looks using the following code
/* Change the Right Click Protection Text */
.sm-user-ui .sm-right-click-message:after {
  content: 'YOUR Message Here';
  visibility: visible;
  display: inline-block;
  position: relative;
  background-color: #8a8585;
  width: 240px;
  height: 75px;
}

.sm-user-ui .sm-right-click-message .sm-tooltip-content {
  display: none;
}

Comments

  • WinsomeWorks

    on October 30, 2015

    We should choose one or the other of these customizations, correct? I'm not sure what the "Tooltip Menu" is, so if we should only use one of the sets of code in the above boxes, I'm not clear on which set to use.

  • LoriCareyPhotography

    on February 12, 2014

    Thank you! Just realized I never changed the text when I migrated and you made it a quick and easy fix for me.

  • K├╝lli Tedre Photography

    on November 9, 2013

    Thanks for this!

  • Aaron Meyers

    on October 17, 2013

    Thanks for the heads up DelightfulLight. Interestingly on my own site I don't use the code listed on here. I've updated the code to fix the bug you mentioned.

  • DelightfulLight

    on October 17, 2013

    I just noticed that this code will change the text for all the help pop-up boxes shaped like a circle with a question mark in it. Every single one of the circles with a question mark reads exactly what I type in the "YOUR Message Here" location.

  • DelightfulLight

    on October 16, 2013

    Thank you!

Powered by SmugMug Owner Log In