The only way I got back working on my site in FF was to use both the old and new code.
New code left the original content in the box and would not allow me to customize the box at all.
I cannot show you as my site is still not unveiled.
The only way I got back working on my site in FF was to use both the old and new code.
New code left the original content in the box and would not allow me to customize the box at all.
I cannot show you as my site is still not unveiled.
Where on your site are you adding the code? I added a CSS content box to my "entire site" footer then pasted this code in there.
I've tried FF on both PC & Mac and it works for me, but i do have an unveiled site.
Ok did a update on this here is the new code needed to work they way everyone wants it and the SM help links still work also.
CODE goes in css box on Entire Site
Here is the Code for your own Custom Right Click Message
Insert custom message here in red
I put this in the CSS box for the entire page.
The green text is for you to change how your want it.
Yellow is for if you use the box shadow and border radius to recall what SM has for colors and background and color of Text in some themes
Blue code is not needed if your want the box and layout to stay the same. but the help message will still work.
Code:
/* 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 {
[COLOR="Yellow"] background-color: #fff;
border-radius: 10px !important;
box-shadow: -4px 5px 10px #000 !important;
color:black !important;[/COLOR]
}
[COLOR="Blue"]/* To recal SM box layout when Logged IN */[/COLOR]
.sm-user-loggedin, .sm-user-ui .sm-tooltip {
[COLOR="Yellow"]box-shadow: initial;
border-radius: initial;[/COLOR]
}
ok i updated the code need to change the text color to see it on my end
got to have this in yellow at least for text color
/* Right Click Protection code */
/* Your Message */
.sm-tooltip-floating:after {
content: '[COLOR="Red"]YOUR Custom Message Here[/COLOR]'}
/* 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="Yellow"] color:black !important;[/COLOR]
}
Nicely done! The double colon syntax for ::after isn't understood by IE8. The single colon syntax is more compatible as it works for IE8 and also all the browsers which support the double-colon syntax (.sm-tooltip-content:after).
ok i updated the code need to change the text color to see it on my end
got to have this in yellow at least for text color
/* Right Click Protection code */
/* Your Message */
.sm-tooltip-floating:after {
content: '[COLOR="Red"]YOUR Custom Message Here[/COLOR]'}
/* 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="Yellow"] color:black !important;[/COLOR]
}
I'll have to wait until I unveil to see if this works.
Ok did a update on this here is the new code needed to work they way everyone wants it and the SM help links still work also.
CODE goes in css box on Entire Site
Here is the Code for your own Custom Right Click Message
Insert custom message here in red
I put this in the CSS box for the entire page.
The green text is for you to change how your want it.
Yellow is for if you use the box shadow and border radius to recall what SM has for colors and background and color of Text in some themes
Blue code is not needed if your want the box and layout to stay the same. but the help message will still work.
Code:
/* 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 {
[COLOR=yellow] background-color: #fff;[/COLOR]
[COLOR=yellow] border-radius: 10px !important;[/COLOR]
[COLOR=yellow] box-shadow: -4px 5px 10px #000 !important;[/COLOR]
[COLOR=yellow] color:black !important;[/COLOR]
}
[COLOR=blue]/* To recal SM box layout when Logged IN */[/COLOR]
.sm-user-loggedin, .sm-user-ui .sm-tooltip {
[COLOR=yellow]box-shadow: initial;[/COLOR]
[COLOR=yellow] border-radius: initial;[/COLOR]
}
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.
Comments
Working here, Firefox, Chrome & IE. Thanks!
Tickled Pixels
Tickled Pixels Blog: "A walk in Gamla stan, the old town of Stockholm"
At least in FF (not unveiled) the original text is in the box as well as my new text.
You rock! Thanks!
Works great now!! Tested on Chrome, Firefox & IE on windows and Safari on Mac. All worked great. Thank you!!
This happens over any question mark that usually has the helpful hints. I'd say fair trad off
The only way I got back working on my site in FF was to use both the old and new code.
New code left the original content in the box and would not allow me to customize the box at all.
I cannot show you as my site is still not unveiled.
Where on your site are you adding the code? I added a CSS content box to my "entire site" footer then pasted this code in there.
I've tried FF on both PC & Mac and it works for me, but i do have an unveiled site.
I added it to the site CSS in the theme.
Moved it to a CSS block below the footer... now it works... makes no sense.
I have to add it at CSS theme level, if not it does not work.
BTW: If we do this, we sacrifice the smugmug tooltips everywhere (as discussed before), so we have to decide, what is more important.
It MUST be something in the theme codes... at least that's my guess.
I would like to customize the pop-up box, but with this new code the box breaks if I try to change the background-color.
Use this to change color of box
CODE goes in css box on Entire Site
Here is the Code for your own Custom Right Click Message
Insert custom message here in red
I put this in the CSS box for the entire page.
The green text is for you to change how your want it.
Yellow is for if you use the box shadow and border radius to recall what SM has for colors and background and color of Text in some themes
Blue code is not needed if your want the box and layout to stay the same. but the help message will still work.
Code:
Nikkor 18-70mm
Nikkor 70-300mm
My Gallery
Ahh! The joy of not much of anything.............
In CSS on Entire Page. Must be NEW SM
You also need to be logged OUT to see your Message
Thanks, I'm not logged out and my site is not live yet.
Is there any way to check and see if it works without going live and logging out?
Nikkor 18-70mm
Nikkor 70-300mm
My Gallery
Ahh! The joy of not much of anything.............
If its not live I cant help you out on that.
Sorry
Its not there
Did you save and publish ?
Did you put CSS in on the Entire Site ?
ok i updated the code need to change the text color to see it on my end
got to have this in yellow at least for text color
still not working
need to remove
Add this in red to
Portfolio • Workshops • Facebook • Twitter
When I did this I get both the stock Smugmug message and my own custom one. It also worked on both Chrome & IE.
I'll have to wait until I unveil to see if this works.
It will. I have it working.
Hmm, did you get both parts? You need the whole block:
The first part hides SmugMug's message and the second part adds your own.
Changing the message itself doesn't require any other changes. Adjusting the background color, text color, drop shadow, etc. will.
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.
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.