Sitewide vs homepage CSS code
TallPhotoGuy
Registered Users Posts: 160 Major grins
All my CSS code is site wide in My Theme. Part of the code contains code for transparency when the mouse hovers over the photo. My Homepage contains photos with no action on the mouse click. Since the transparency effect is miss-leading on the homepage I added a CSS content block to the homepage and added the transparency code but changed the opacity to 1.0. It seems to work. Is this the proper and best way to do this.
/* Make the folder images slightly transparent when the mouse hovers over it */
.sm-user-ui .sm-tiles .sm-tile-content:hover {
opacity: 1.0;
/* Have the transparency fade in */
-webkit-transition: all 0.15s ease-in;
-moz-transition: all 0.15s ease-in;
transition: all 0.15 ease-in;
}
/* Make the folder images slightly transparent when the mouse hovers over it */
.sm-user-ui .sm-tiles .sm-tile-content:hover {
opacity: 1.0;
/* Have the transparency fade in */
-webkit-transition: all 0.15s ease-in;
-moz-transition: all 0.15s ease-in;
transition: all 0.15 ease-in;
}
0
Comments
I noticed you missed the 's' here in red:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk