Stroke and drop shadow for folders and ?
AceCo55
Registered Users Posts: 950 Major grins
I have code working for my homepage slideshows and the main photo in a smug gallery
/* drop shadow for the large image in galleries */
.sm-tile-single.sm-tiles-uncropped .sm-image {
border: 1px solid #ffffff;
border-radius:1px;
max-width: 90%;
box-shadow: 12px 14px 6px -4px #000000;
}
.sm-tile-content {
padding-bottom: 40px;
}
I don't want this for the thumbnails IN a gallery but I do want it for:
Folders on home page http://www.acecootephotography.com/
Subfolders example: http://www.acecootephotography.com/Kingston-Football
Sub-sub folders example http://www.acecootephotography.com/Kingston-Football/Football-A-Grade
I don't know classnames that might make this work
Any help would be much appreciated
/* drop shadow for the large image in galleries */
.sm-tile-single.sm-tiles-uncropped .sm-image {
border: 1px solid #ffffff;
border-radius:1px;
max-width: 90%;
box-shadow: 12px 14px 6px -4px #000000;
}
.sm-tile-content {
padding-bottom: 40px;
}
I don't want this for the thumbnails IN a gallery but I do want it for:
Folders on home page http://www.acecootephotography.com/
Subfolders example: http://www.acecootephotography.com/Kingston-Football
Sub-sub folders example http://www.acecootephotography.com/Kingston-Football/Football-A-Grade
I don't know classnames that might make this work
Any help would be much appreciated
My opinion does not necessarily make it true. What you do with my opinion is entirely up to you.
www.acecootephotography.com
www.acecootephotography.com
0
Comments
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Sometimes it causes a blue line at top or bottom of the thumbnail - but I think I should be able to change the crop ratio for those.
Many thanks ... once again.
www.acecootephotography.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
I have found out that if the Featured image is exactly square, then I get those top and bottom bars. Simply adding a few pixels to the top and bottom fixes that nicely.
So once again thank you for your help - very much appreciate what you do here.
www.acecootephotography.com
AceCo55 and Smug Eric does this work also for a folders page .... ? I have a page with both folders and galleries on and neither the folder photo icon or the gallery photo icons shows any border or any drop shadow. Here is the page if you want to have a look: http://www.christerwe.com/Galleries. I put the following code into the All Folders CSS box:
.sm-tile-single.sm-tiles-uncropped .sm-image {
border: 30px solid #333333;
border-radius:1px;
max-width: 80%;
box-shadow: 12px 14px 6px -4px #000000;
}
.sm-tile-content {
padding-bottom: 40px;
Thanks
Christer W
This is the CSS I have for my folders ... hope this works for you:
/* stroke and drop shadow for folders */
.sm-user-ui .sm-tiles .sm-tile-content {
border: 2px solid #ffffff;
border-radius:1px;
max-width: 90%;
box-shadow: 10px 12px 6px -4px #000000;
}
www.acecootephotography.com
Thanks AceCo55 for answering, but nothing happens if I put this code into the CSS for all folders or for the whole site. I don't get any border or any shadow.
Christer W
Try this:
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 soo very much Hikin' Mike, that worked perfectly!!!
Christer W
Thanks
Christer W
Try this:
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, thanks again Hikin' Mike!! Works perfectly!!!
Christer W