Add border around new style Smugmug slide show
slipkid
Registered Users Posts: 231 Major grins
I am loving the new features in the "NEW" Smugmug. I would like to add a border around my slide shows. I found some CSS code but I am only able to have the border go around 3/4 on the slide show.
Thanks
http://www.slipkid.com/
Thanks
http://www.slipkid.com/
Regards
Steve
www.slipkid.com
"The problem with socialism is that you eventually run out of other people's money". -- Margaret Thatcher
Steve
www.slipkid.com
"The problem with socialism is that you eventually run out of other people's money". -- Margaret Thatcher
0
Comments
.sm-tile-content {
overflow: visible;
}
.sm-tile-single.sm-tiles-uncropped .sm-image {
border: 5px solid #8f7b62!important;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-webkit-box-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
box-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
-moz-box-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
filter: progid:DXImageTransform.Microsoft.Shadow (Color='000000', direction='3', strength='3');
_filter: none;
}
.sm-tile-limit-both {
border: 2px solid #000000!important;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-webkit-box-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
box-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
-moz-box-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
filter: progid:DXImageTransform.Microsoft.Shadow (Color='000000', direction='3', strength='3');
_filter: none;
}
Steve
www.slipkid.com
"The problem with socialism is that you eventually run out of other people's money". -- Margaret Thatcher
http://www.dgrin.com/showpost.php?p=1888134&postcount=10
You might need to add the bold blue 0:
-webkit-box-shadow: .5px .5px 0 5px rgba(0, 0, 0, 1);
box-shadow: .5px .5px 0 5px rgba(0, 0, 0, 1);
First thanks for your border code - I used just the first half on my single slideshow and it works great!
What I noticed on my home page SS was if I used a super thick border (20px or so) the border was affected by the slideshow control arrows...this made me think about your issue -looking at your home page, if I widen your page to the full width of my monitor (20" iMac) - you actually DO have all 4 sides of each border but then a second later your images expand larger and cover the 4th side of each... you should be able to duplicate this effect
Look I don't know code but it's something in the sizing/borders/etc that is covering it up... hope that makes sense and can help you.
rich56k
Member: ASMP; EP; NPPA; CPS
Thanks for the help.
Steve
www.slipkid.com
"The problem with socialism is that you eventually run out of other people's money". -- Margaret Thatcher
You need to add this code
Width:93%;
That does solve the issue I was having with the border around all sides of the slide show. Thanks for that tip. The code I am using now is below, it rounds off the corners and adds a slight shadow.
.sm-tile-content {
overflow: visible;
}
.sm-tile-single.sm-tiles-uncropped .sm-image {
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-webkit-box-shadow: 4px 0 4px rgba(0, 0, 0, .5);
width: 93%;
filter: progid:DXImageTransform.Microsoft.Shadow (Color='000000', direction='3', strength='3');
_filter: none;
}
.sm-tile-limit-both {
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-webkit-box-shadow: 4px 0 4px rgba(0, 0, 0, .5);
width: 93%;
filter: progid:DXImageTransform.Microsoft.Shadow (Color='000000', direction='3', strength='3');
_filter: none;
}
Steve
www.slipkid.com
"The problem with socialism is that you eventually run out of other people's money". -- Margaret Thatcher
I have successfully used your CSS to create great drop shadows for my Homepage slideshow as well as drop shadows on each primary image within each of my galleries. Each galleries style is set to 'SmugMug'. Once you open a gallery all the images are in the form of thumb nails + one larger, selected image. It is that image where I have added a drop shadow.
A viewer can double click that larger image and the action will initiate a slide show with images rendered in a larger size. I was hoping to also apply your code to those larger slideshow images. So far I have not been successful.
Do you have any suggestions on how to do that?
Thanks for your help!
Uncle Bum
www.exploring-photography.com
Here is the code you need for that.
Worked like a charm!
If you would like to see how your help has added to my website, check it out at:
www.exploring-photography.com
Thanks again.
Jim Simpson
www.exploring-photography.com
looks good but,
I think your missing your Header logo. Might be a bad link.
Just FYI
I am not sure what you are referring to. I think of my Header Logo as a stylized and centered version of:
exploring photography
If what I describe is not what you are referring to as a header logo - I do not know what you are referring to but am concerned that something is not working properly.
Would you mind trying to describe what you believe is missing?
Thanks
www.exploring-photography.com
No that does not show up here.
That is the logo I'm talking about
a.s.
Guys, first, thanks a bunch for checking out my site. I would never have known the logo was not displaying, since it showed up on my screen.
Second, the original logo image was in a 'private' gallery. I changed that to make it 'public'. The folder the gallery resides in is also now listed as public. Thanks for asking, I would never have thought to consider that a problem.
Interestingly, when I went back to look at the image loaded into the logo page I got an error message that I could not make go away (indicating the image was flawed in some way). I even deleted the logo block and tried using a single photo block and then a text block using a title. None of these worked with that particular image - it happens to be a .png file. Is there a problem using .png files?
So, I went onto my hard drive and resurrected a bunch of my historic images I had created for logos. I uploaded them into a new gallery located in the same folder. I made sure each file I uploaded had been resaved as a .jpg. I loaded one and it appears to work while I am logged in and logged out.
Do you see the logo, now? thanks for checking.
www.exploring-photography.com
Yes it's working.
Thanks!
Now I have to figure out how I made the first logo so it blended so seamlessly into my 'linen' background.
Then, my site should be ready to go.
This has been very interesting for another reason. I had that same image as my logo on the 'old' site.
I never had much traffic. I wonder if my logo never showed up there, either? Would that be a problem for web crawlers to identify my site and 'spread the word'? That was about a years worth of exposure (or lack of it...).
www.exploring-photography.com
I don't think so because it would go off the link and keywords not anything on the page.
I thought I'd chime in since I saw I was mentioned. I took out my code and used this code instead because mine was a little broken with this code and the width of 93 its prefect. I just thought I'd let you all know since I was mentioned in the post like I said
http://www.k-ophotography.com/
Any and all help appreciated
My galleries: http://ghealy.smugmug.com
My Blog: http://photosbyhealy.blogspot.com
Check out this:
http://www.smugocity.com/Hack-of-the-Week/Fancy-Homepage-Slideshow
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
The above code gives me a drop shadow along the bottom. Would like one along the right edge as well as the bottom. I also round the corners of my images (border-radius). Is there a way to round the shadow in a similar fashion?
TIA
My galleries: http://ghealy.smugmug.com
My Blog: http://photosbyhealy.blogspot.com
Here is what I'm using on my slideshow.
You can add this to the above code for the rounded edges. Change the number 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
Can you please tell me why your code uses the webkit and moz-box code while the code from the link you referenced does not?
On OLD SM I was told we needed the web-kit and moz-box code, but seems now folks on NEW SM are not using it.dunno
Thanks for the help. Really appreciated.
My galleries: http://ghealy.smugmug.com
My Blog: http://photosbyhealy.blogspot.com
For no reason then I'm used to adding the two additional codes. It doesn't have anything to do with the old vs new Smugmug. It's for the older versions of Firefox etc.
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. Is it needed any longer?
Probably not.
http://css-tricks.com/do-we-need-box-shadow-prefixes/
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk