Thanks. Lots of thanks.
It works, and I have a question to clarify something -
Is it an either\or situation?
When I'm looged in I will see the tool tips and SM's original RCP msg, and only when logged out my customized RCP will appear?
It's OK if that's how it is, just wanted to make sure that I did it right.
Yes it is setup to for logged in and not logged in.
Thats why i did the other code to be able to do that.
I could not find any other way to get around it, and be able to have a custom box.
That makes sense. I was offering a way to change just the right click message, leaving the other help tooltips intact, whether you're logged in or out. If you change the references to 'sm-tooltip-floating' and 'sm-tooltip' in your example code to the more specific 'sm-right-click-message', your CSS will only apply to the right click message. This includes changes to the message itself, background color, text color, border radius, etc.
For example, your most recent CSS would change to this:
Custom message in green
Right click tooltip look and feel in blue
/* Right Click Protection code */
/* Your Message */
.sm-user-ui .sm-right-click-message:after {
content: '[COLOR="PaleGreen"]YOUR Custom Message Here[/COLOR]';
}
/* To Block SM Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
[COLOR="DeepSkyBlue"].sm-user-ui .sm-right-click-message {
background-color: #fff;
border-radius: 10px;
box-shadow: -4px 5px 10px #000;
color: black;
}[/COLOR]
That makes sense. I was offering a way to change just the right click message, leaving the other help tooltips intact, whether you're logged in or out. If you change the references to 'sm-tooltip-floating' and 'sm-tooltip' in your example code to the more specific 'sm-right-click-message', your CSS will only apply to the right click message. This includes changes to the message itself, background color, text color, border radius, etc.
For example, your most recent CSS would change to this:
Custom message in green
Right click tooltip look and feel in blue
/* Right Click Protection code */
/* Your Message */
.sm-user-ui .sm-right-click-message:after {
content: '[COLOR="PaleGreen"]YOUR Custom Message Here[/COLOR]';
}
/* To Block SM Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
[COLOR="DeepSkyBlue"].sm-user-ui .sm-right-click-message {
background-color: #fff;
border-radius: 10px;
box-shadow: -4px 5px 10px #000;
color: black;
}[/COLOR]
Works Perfect Thanks
do you mind if we update the main part of my post with this?
That makes sense. I was offering a way to change just the right click message, leaving the other help tooltips intact, whether you're logged in or out. If you change the references to 'sm-tooltip-floating' and 'sm-tooltip' in your example code to the more specific 'sm-right-click-message', your CSS will only apply to the right click message. This includes changes to the message itself, background color, text color, border radius, etc.
For example, your most recent CSS would change to this:
Custom message in green
Right click tooltip look and feel in blue
/* Right Click Protection code */
/* Your Message */
.sm-user-ui .sm-right-click-message:after {
content: '[COLOR="PaleGreen"]YOUR Custom Message Here[/COLOR]';
}
/* To Block SM Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
[COLOR="DeepSkyBlue"].sm-user-ui .sm-right-click-message {
background-color: #fff;
border-radius: 10px;
box-shadow: -4px 5px 10px #000;
color: black;
}[/COLOR]
Ok thanks to dallasw we have a shorter code for this that works all around.
That makes sense. I was offering a way to change just the right click message, leaving the other help tooltips intact, whether you're logged in or out. If you change the references to 'sm-tooltip-floating' and 'sm-tooltip' in your example code to the more specific 'sm-right-click-message', your CSS will only apply to the right click message. This includes changes to the message itself, background color, text color, border radius, etc.
For example, your most recent CSS would change to this:
Custom message in green
Right click tooltip look and feel in blue
/* Right Click Protection code */
/* Your Message */
.sm-user-ui .sm-right-click-message:after {
content: '[COLOR="PaleGreen"]YOUR Custom Message Here[/COLOR]';
}
/* To Block SM Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
[COLOR="DeepSkyBlue"].sm-user-ui .sm-right-click-message {
background-color: #fff;
border-radius: 10px;
box-shadow: -4px 5px 10px #000;
color: black;
}[/COLOR]
Thanks for the clean a simple code. Just only a small contribution, if you want your custom message in two or more lines, you could use the escape code "\A" (newline) and the property "white-space" with the value "pre". Like this:
/* Right Click Protection code */
.sm-user-ui .sm-right-click-message:after {
content: '[COLOR="PaleGreen"]First Line content \A Second Line content \A Other content...[/COLOR]';
[B]white-space: pre;[/B]
}
You can see it running at my site (URL in my sign). I hope it helps.
Thanks for the clean a simple code. Just only a small contribution, if you want your custom message in two or more lines, you could use the escape code "\A" (newline) and the property "white-space" with the value "pre". Like this:
/* Right Click Protection code */
.sm-user-ui .sm-right-click-message:after {
content: '[COLOR="PaleGreen"]First Line content \A Second Line content \A Other content...[/COLOR]';
[B]white-space: pre;[/B]
}
You can see it running at my site (URL in my sign). I hope it helps.
That works to. anyone have a way to add a link inside this?????
OR move this code in red to here to label in green .sm-user-ui .sm-right-click-message { background-color: #fff;
box-shadow: -4px 5px 10px #000;
color: #000;
max-width: 320px;
height: 110px;
padding: 10px;
font-size: 18px;
border-radius: 10px; }
Had this in originally and didn't really want to do it this way.
Thanks very much for the code to customize the right-click message. Since new SM the original right-click message did not work on Opera12. Using the code above fixed that, thanks a lot
I copy/pasted the exact code in post #1, with my own message where it belongs. Last night I unveiled. This morning I thought I'd test it. Using IE 10, and not logged in, I right clicked and I get this:
I copy/pasted the exact code in post #1, with my own message where it belongs. Last night I unveiled. This morning I thought I'd test it. Using IE 10, and not logged in, I right clicked and I get this:
It does work in Firefox & Chrome.
When you added you message you have added a } or some that is blocking the code.
When you added you message you have added a } or some that is blocking the code.
Your message needs to be inside ' '
I swear all I did was place my message between the ' ' in the code you provided. It works in 2 of the three browsers I have.
/* Right Click Protection code */
/* Your Message */
.sm-user-ui .sm-right-click-message:after {
content: 'I am sorry but I have disallowed saving from this site. You can use the Share Button, just mouse over the lower right corner. It will give you many options for sharing this image online. You are also welcome to purchase a copy, print, or any other offered merchandise. Just hit the Add to Cart button. Thanks!';
}
/* To Block SM Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
.sm-user-ui .sm-right-click-message {
background-color: #fff;
border-radius: 10px;
box-shadow: -4px 5px 10px #000;
color: black;
}
I swear all I did was place my message between the ' ' in the code you provided. It works in 2 of the three browsers I have.
/* Right Click Protection code */
/* Your Message */
.sm-user-ui .sm-right-click-message:after {
content: 'I am sorry but I have disallowed saving from this site. You can use the Share Button, just mouse over the lower right corner. It will give you many options for sharing this image online. You are also welcome to purchase a copy, print, or any other offered merchandise. Just hit the Add to Cart button. Thanks!';
}
/* To Block SM Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
.sm-user-ui .sm-right-click-message {
background-color: #fff;
border-radius: 10px;
box-shadow: -4px 5px 10px #000;
color: black;
}
That did the trick. The really weird things is, I didn't add that. It was in the notepad where I'd pasted the code I'd copied from here. When I went into the CSS for my site to manually delete it, and it wasn't there. I deleted it from the notepad copy, and then pasted that into the CSS. It looked the exact same as what i'd replaced in the window. Now it works.
That did the trick. The really weird things is, I didn't add that. It was in the notepad where I'd pasted the code I'd copied from here. When I went into the CSS for my site to manually delete it, and it wasn't there. I deleted it from the notepad copy, and then pasted that into the CSS. It looked the exact same as what i'd replaced in the window. Now it works.
Ok did a update on this here is the new code needed
Thanks to dallasw
CODE goes in css box on Entire Site
For example
Custom message in green
Right click tooltip look and feel in blue
/* Right Click Protection code */
/* Your Message */
.sm-user-ui .sm-right-click-message:after {
content: '[COLOR="PaleGreen"]YOUR Custom Message Here[/COLOR]';
}
/* To Block SM Message */
.sm-user-ui .sm-right-click-message .sm-tooltip-content {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
[COLOR="DeepSkyBlue"].sm-user-ui .sm-right-click-message {
background-color: #fff;
border-radius: 10px;
box-shadow: -4px 5px 10px #000;
color: black;
}[/COLOR]
Perfect & Thank You!!! I haven't unveiled yet but getting oh so very much closer thanks to people like you! thumb
oh so I have read the thread and would like to use this on my account. Has the code been updated in the first post or is the latest code in the latest posts of the thread?
Sorry code challanged in Seattle
Next to figure out how and where to put the code.
Jim
"Christianity, if false, is of no importance,
and if true, of infinite importance. The only
thing it cannot be is moderately
important." C. S. Lewis http://www.photosbyjimclark.com/
"ADD TO CART" color in copyright message?
Thanks Jingle Images for the Customizations they work great
Would it be possible to make the "ADD TO CART" a deferent color in the copyright message?
oh so I have read the thread and would like to use this on my account. Has the code been updated in the first post or is the latest code in the latest posts of the thread?
Sorry code challanged in Seattle
Next to figure out how and where to put the code.
Jim
It is updated and it goes in CSS on the Entire site.
thanks Jingle Images but is it the first post or the latest post that contains the latest code?
"Christianity, if false, is of no importance,
and if true, of infinite importance. The only
thing it cannot be is moderately
important." C. S. Lewis http://www.photosbyjimclark.com/
"Christianity, if false, is of no importance,
and if true, of infinite importance. The only
thing it cannot be is moderately
important." C. S. Lewis http://www.photosbyjimclark.com/
/* Right Click Protection code */
/* Your Message */
.sm-tooltip-floating:after {
content: 'YOUR Custom Message Here'}
/* To Block SM Message */
.sm-tooltip-content {
display: none;
}
/* For Sm Message and Help Tips to be Displayed when Logged IN */
.sm-user-loggedin .sm-tooltip-content {
display: inline ;
color: #000;
}
/* To Cancel your custom message */
.sm-user-loggedin .sm-tooltip-floating:after {
display: none;
}
/* used for changing background-color and Radius AND color of Text In some Themes */
.sm-user-ui .sm-tooltip {
background-color: #fff;
border-radius: 10px !important;
box-shadow: -4px 5px 10px #000 !important;
color:black !important;
}
I'm using this code. works in IE, but I still get the default SM code in Chrome. ideas?
Comments
Yes it is setup to for logged in and not logged in.
This was quick, thanks again
And in my language - toda raba
תודה רבה
That makes sense. I was offering a way to change just the right click message, leaving the other help tooltips intact, whether you're logged in or out. If you change the references to 'sm-tooltip-floating' and 'sm-tooltip' in your example code to the more specific 'sm-right-click-message', your CSS will only apply to the right click message. This includes changes to the message itself, background color, text color, border radius, etc.
For example, your most recent CSS would change to this:
Works Perfect Thanks
do you mind if we update the main part of my post with this?
Please do!
Ok thanks to dallasw we have a shorter code for this that works all around.
Thanks dallasw.
Thanks for the clean a simple code. Just only a small contribution, if you want your custom message in two or more lines, you could use the escape code "\A" (newline) and the property "white-space" with the value "pre". Like this:
You can see it running at my site (URL in my sign). I hope it helps.
That works to. anyone have a way to add a link inside this?????
Try this
OR move this code in red to here to label in green
.sm-user-ui .sm-right-click-message {
background-color: #fff;
box-shadow: -4px 5px 10px #000;
color: #000;
max-width: 320px;
height: 110px;
padding: 10px;
font-size: 18px;
border-radius: 10px;
}
Had this in originally and didn't really want to do it this way.
It does work in Firefox & Chrome.
When you added you message you have added a } or some that is blocking the code.
Your message needs to be inside ' '
I swear all I did was place my message between the ' ' in the code you provided. It works in 2 of the three browsers I have.
Remove ; after the thanks'
Gremlins...
Good deal.
Perfect & Thank You!!! I haven't unveiled yet but getting oh so very much closer thanks to people like you! thumb
Me too!!! Thanks a bunch. It works great.
Sorry code challanged in Seattle
Next to figure out how and where to put the code.
Jim
and if true, of infinite importance. The only
thing it cannot be is moderately
important." C. S. Lewis
http://www.photosbyjimclark.com/
Thanks Jingle Images for the Customizations they work great
Would it be possible to make the "ADD TO CART" a deferent color in the copyright message?
Instagram
Twitter
It is updated and it goes in CSS on the Entire site.
and if true, of infinite importance. The only
thing it cannot be is moderately
important." C. S. Lewis
http://www.photosbyjimclark.com/
1st post is updated.
Sent from my SGH-T989 using Tapatalk 2
and if true, of infinite importance. The only
thing it cannot be is moderately
important." C. S. Lewis
http://www.photosbyjimclark.com/
I'm using this code. works in IE, but I still get the default SM code in Chrome. ideas?
follow me on: flickr - 500px - twitter
Use the updated code in 1st post. But for that code you are using now if your not logged out you will not see your message.