I do not have "sm-user-ui" class on <html> tag
James Lyall
Registered Users Posts: 202 Major grins
It would appear that my SmugMug website is missing the "sm-user-ui" class on the <html> tag.
If I use the "sm-user-ui" prefix, my CSS does not work. If I omit the prefix, the CSS does work.
This came to light with the new SmugMug when I started using Nicholas Sherlock's customisations.
I found that they did not work unless I stripped out all of the "sm-user-ui" code.
Last September I posted about this problem:
http://www.dgrin.com/showthread.php?t=240656
and again recently:
http://www.dgrin.com/showthread.php?t=244455
Nobody has come up with a solution. One subscriber (Keith 'mklabove') described the same problem in my first posting.
Please can you help with this worrying problem?
Thank you.
If I use the "sm-user-ui" prefix, my CSS does not work. If I omit the prefix, the CSS does work.
This came to light with the new SmugMug when I started using Nicholas Sherlock's customisations.
I found that they did not work unless I stripped out all of the "sm-user-ui" code.
Last September I posted about this problem:
http://www.dgrin.com/showthread.php?t=240656
and again recently:
http://www.dgrin.com/showthread.php?t=244455
Nobody has come up with a solution. One subscriber (Keith 'mklabove') described the same problem in my first posting.
Please can you help with this worrying problem?
Thank you.
0
Comments
This seems to be connected to the theme you're using. You're using the SmugMug default theme (SmugMug dark) with no changes and instead of the sm-user-ui class, that results in the sm-nui class added to your site.
If you were to create a theme of your own (simply by making a change to the default or picking a different theme, it should change the class to the sm-user-ui class.
From what I can tell, only the theme chosen has any influence on that class.
To use code that includes sm-user-ui, you could just try replacing that with sm-nui. Alternatively, you just use the wrench button on the default theme and save it as a new theme by entering your own name. That should also change the class.
SmugMug Support Hero
http://www.smugocity.com/FAQ/Important
That means that such recommended code definitely won't work in the situation you've described. Maybe this is something that could be fixed?
Please check out my gallery of customisations for the New SmugMug, more to come!
Kind regards,
http://www.lyall-photos.net/
My thanks are due to both Sebastian and Nicholas.
http://www.lyall-photos.net/