Highlight selected thumbs
firefox13
Registered Users Posts: 64 Big grins
I have place a red border around photos and thumbs in all galleries. Now when you click on a thumb it does not highlight which thumb you are on.
Is it possible to have the selected thumb highlight in a different color or in some other way?
Is it possible to have the selected thumb highlight in a different color or in some other way?
0
Comments
Change to suit.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks.
I tried putting that in all galleries css. This is the css block for all galleries ;
.sm-user-ui .sm-page-widget-nav-toplink a:hover {
color: #ff0000!important;
}
.sm-user-ui .sm-gallery-smugmug .sm-image {
border: 1px solid #ff0000;
padding: 0px;
}
/* Set the overflow of the images to be visible so the border actually displays properly */
.sm-user-ui .sm-gallery-smugmug .sm-tile-content {
position: relative;
display: block;
overflow: visible;
}
.sm-gallery-thumbnail .sm-tile:hover {
border: 1px solid #0000ff;
}
I changed the colour to blue so that when you select a thumbnail that border would change to blue.
This did not work unfortunately.
Any other thoughts?
www.pcpimages.com
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Nearly there! The border on the thumbnail changes to blue but only when I point on the actual border not when I point on the image inside the border nor does it change to show which image is selected.
Maybe just another tweek?
www.pcpimages.com
Since you haven't unveiled your site yet, I really don't know what else to do since I can't see your site in action.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I don't think you want hover - or maybe you want .sm-image:hover plus .sm-image:active.
http://www.w3schools.com/css/css_pseudo_classes.asp
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com