Weirdest and what I really don't understand is that for me in Safari they are all square, all the time. (Like I understand any of it) Thanks for trying to figure it out.
It's odd indeed. At least it is consistent for you. What I have on my end is so odd that I want to do some further tests. I have extensions on my Safari, so I should disable those. I also want to try it on my MacBook Pro at work and see how it does. I'll let you know later what I find. Part of the difference between us is that you have Safari 5.something on Windows and I have 6.0.5 on Mac. While I'm at it, I should also try the Safari 5 on my wife's old MacBook.
It sounds like the issue is that browsers aren't very good at clipping child elements which are position:relative or position:absolute, which is required for gallery thumb positioning:
It sounds like the issue is that browsers aren't very good at clipping child elements which are position:relative or position:absolute, which is required for gallery thumb positioning:
There's some severe problems with the rounded corners of the thumbnails in the gallery content blocks in the Safari web browser: the corners come and go depending on scrolling the page and other factors. Adding that line after the "border-radius: xxxx;" lines (wherever you have them) seems to fix that problem, at least for me on my site.
There's some severe problems with the rounded corners of the thumbnails in the gallery content blocks in the Safari web browser: the corners come and go depending on scrolling the page and other factors. Adding that line after the "border-radius: xxxx;" lines (wherever you have them) seems to fix that problem, at least for me on my site.
There's some severe problems with the rounded corners of the thumbnails in the gallery content blocks in the Safari web browser: the corners come and go depending on scrolling the page and other factors. Adding that line after the "border-radius: xxxx;" lines (wherever you have them) seems to fix that problem, at least for me on my site.
Thanks... I'm not code guru, but what the heck do all those letters do?
Basically it is a small image file which has been turned into text. Apparently applying an image as a mask causes the rounded corners to be drawn reliably in Safari.
I use this code and my thumbnails have 3 round edges and the 4th corner bottom right is still squared off.
What am I doing wrong? Smugmug style gallery
I use this code and my thumbnails have 3 round edges and the 4th corner bottom right is still squared off.
What am I doing wrong? Smugmug style gallery
Vic
Try changing border-radius:8px;
to ...
border-top-left-radius:8px;
border-top-right-radius:8px;
border-bottom-right-radius:8px;
border-bottom-left-radius:8px;
It should do the same thing. Do you have a border-bottom-right-radius anywhere else in your code?
I use this code and my thumbnails have 3 round edges and the 4th corner bottom right is still squared off.
What am I doing wrong? Smugmug style gallery
Vic
Check out my page. Everything works for me. But I have used different code then that.
Just to throw it all in one place, here is all the code I have for rounded corners on my site. Works in all browsers too.
/*ADD RADIUS CORNERS TO SLIDESHOW AND LARGE PIC IN GALLERIES*/
.sm-tile-single.sm-tiles-uncropped .sm-image {
border-radius: 25px;
box-shadow: 0 0 0 #000; /*LEFT THIS INCASE I WANT TO GO BACK TO A SHADOW*/
max-width: 95%}
/* MAKE CORNERS ROUND ON GALLERY & FOLDER LINK IMAGES */
.sm-page-widget-folders .sm-tile a,
.sm-page-widget-galleries .sm-tile a,
.sm-page-widget-nodes .sm-tile a,
.sm-page-widget-pages .sm-tile a {
border-radius: 8px;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);/*THIS FIXES A SAFARI BUG*/
}
/* ROUND THE EDGES ON GALLERY THUMBNAILS in Collage Galleries */
.sm-gallery-roworganic img, .sm-gallery-columnorganic img {
border-radius: 10px;
}
/* ROUND IMAGES DISPLAYED IN THE LIGHTBOX */
.sm-lightbox-image {
border-radius:25px;
}
And then used this to elemenate the clipping of the right side of the page in the Collaga Style gallery.
/* Show full THUMBNAILS in Collage Galleries(right side not cut off) */
.sm-tiles-row-organic .sm-tiles-list {
overflow: visible;
margin: 0 0 0 -18px;
}
I assume this is for collage landscape and collage vertical styles? Also, does all of this go on the SITE LEVEL CSS? Otherwise, please specific what level (folder or gallery or site) the code should be entered.
I assume this is for collage landscape and collage vertical styles? Also, does all of this go on the SITE LEVEL CSS? Otherwise, please specific what level (folder or gallery or site) the code should be entered.
I have it all in the entire site. Each section relates to a differant area that is why I have them separate and listed as what they are for. I use the collage landscape.
My slide show has rounded corners and a drop shadow. It is OK......other than I cannot edit the contents since it says it is an SM restricted container. (All my slideshow images are in one gallery....)
In galleries, I have rounded corners on the images. That's good!
But I cannot seem to get my folder to show rounded corners.
This is the code I used and I put it in all Folders CSS: )
/* MAKE CORNERS ROUND ON GALLERY & FOLDER LINK IMAGES */
.sm-page-widget-folders .sm-tile a,
.sm-page-widget-galleries .sm-tile a,
.sm-page-widget-nodes .sm-tile a,
.sm-page-widget-pages .sm-tile a {
border-radius: 8px;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);/*THIS FIXES A SAFARI BUG*/
}
My slide show has rounded corners and a drop shadow. It is OK......other than I cannot edit the contents since it says it is an SM restricted container. (All my slideshow images are in one gallery....)
In galleries, I have rounded corners on the images. That's good!
But I cannot seem to get my folder to show rounded corners.
This is the code I used and I put it in all Folders CSS: )
/* MAKE CORNERS ROUND ON GALLERY & FOLDER LINK IMAGES */
.sm-page-widget-folders .sm-tile a,
.sm-page-widget-galleries .sm-tile a,
.sm-page-widget-nodes .sm-tile a,
.sm-page-widget-pages .sm-tile a {
border-radius: 8px;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);/*THIS FIXES A SAFARI BUG*/
}
I cannot get this to work anywhere for me!
I've tried several different CSS codes listed in this thread in just about every place I can put CSS code, but can't get it to work for the life of me!
Where am I going wrong guys?
Just to throw it all in one place, here is all the code I have for rounded corners on my site. Works in all browsers too.
Many thanks for the code
I was able to round the corners on my slideshow, works perfect for me. I just had to adjust the margins on Opera. Without that the drop shadow on the bottom gets cut off...
/*ADD RADIUS CORNERS TO SLIDESHOW AND LARGE PIC IN GALLERIES*/
.sm-tile-single.sm-tiles-uncropped .sm-image {
border-radius: 25px;
box-shadow: 10px 10px 5px #888; /*LEFT THIS INCASE I WANT TO GO BACK TO A SHADOW*/
max-width: 95%;
margin: 0 0 18px 18px;
}
My slide show has rounded corners and a drop shadow. It is OK......other than I cannot edit the contents since it says it is an SM restricted container. (All my slideshow images are in one gallery....)
In galleries, I have rounded corners on the images. That's good!
But I cannot seem to get my folder to show rounded corners.
This is the code I used and I put it in all Folders CSS: )
/* MAKE CORNERS ROUND ON GALLERY & FOLDER LINK IMAGES */
.sm-page-widget-folders .sm-tile a,
.sm-page-widget-galleries .sm-tile a,
.sm-page-widget-nodes .sm-tile a,
.sm-page-widget-pages .sm-tile a {
border-radius: 8px;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);/*THIS FIXES A SAFARI BUG*/
}
I must have really done it wrong because after inserting this code site-wide, I can no longer see Folder or Gallery thumbnails on any pages!
And I had it working so well, except for those odd few thumbnails that stayed with squared edges! Dangit!
Any Help?
"Where have you gone, Joe DiMaggio, our nation turns its lonely eyes to you?"
Not ready to unveil yet, but thanks to all the unofficial helpers here I'm close. Two small problems with rounded corners.
1. Got collage landscape and collage portrait working OK. But on Grid format, the top corners are rounded while the bottom corners are not. Looks like the cut off right edge on the rightmost column that was reported and solved elsewhere in this thread. Is there a special CSS code for Grid?
2. The tips of my corners (the part rounded off) show a color other than my background. I've determined that the color showing thought is the "Primary Color" of the Theme. How to fix that?
Comments
http://stackoverflow.com/questions/3248734/css3-border-radius-clipping-issues
Someone has a hack here that might fix it:
http://stackoverflow.com/questions/5736503/how-to-make-css3-rounded-corners-hide-overflow-in-chrome-opera
EDIT: Yup! That fixes it for me, add this to the CSS after the border-radius line:
Please check out my gallery of customisations for the New SmugMug, more to come!
I'm sorry... I've gotten lost in this discussion. What does this line of code fix? Thank you.
Please check out my gallery of customisations for the New SmugMug, more to come!
Look at my site. Everything works for me.
Thanks... I'm not code guru, but what the heck do all those letters do?
Please check out my gallery of customisations for the New SmugMug, more to come!
Rich, would you mind checking these again with the newest fix added to the code?
Thanks.
Anthony,
Sorry been off the forum for a few days ...That must have done the trick!
All the links look great - see attached...
Thanks Lamah for posting the fix!
Member: ASMP; EP; NPPA; CPS
Thanks.
I use this code and my thumbnails have 3 round edges and the 4th corner bottom right is still squared off.
What am I doing wrong? Smugmug style gallery
Vic
Try changing border-radius:8px;
to ...
border-top-left-radius:8px;
border-top-right-radius:8px;
border-bottom-right-radius:8px;
border-bottom-left-radius:8px;
It should do the same thing. Do you have a border-bottom-right-radius anywhere else in your code?
Check out my page. Everything works for me. But I have used different code then that.
And then used this to elemenate the clipping of the right side of the page in the Collaga Style gallery.
I assume this is for collage landscape and collage vertical styles? Also, does all of this go on the SITE LEVEL CSS? Otherwise, please specific what level (folder or gallery or site) the code should be entered.
www.butlerkid.smugmug.com
My slide show has rounded corners and a drop shadow. It is OK......other than I cannot edit the contents since it says it is an SM restricted container. (All my slideshow images are in one gallery....)
In galleries, I have rounded corners on the images. That's good!
But I cannot seem to get my folder to show rounded corners.
This is the code I used and I put it in all Folders CSS: )
/* MAKE CORNERS ROUND ON GALLERY & FOLDER LINK IMAGES */
.sm-page-widget-folders .sm-tile a,
.sm-page-widget-galleries .sm-tile a,
.sm-page-widget-nodes .sm-tile a,
.sm-page-widget-pages .sm-tile a {
border-radius: 8px;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);/*THIS FIXES A SAFARI BUG*/
}
www.butlerkid.smugmug.com
Here is everything I have Code for my site
This didn't work.
Vic
For what it's worth, I have checked that same spot on your site that I was talking about earlier, and it is now working flawlessly on my Safari.
That's some interesting code Lamah found! I've never seen such.
I've tried several different CSS codes listed in this thread in just about every place I can put CSS code, but can't get it to work for the life of me!
Where am I going wrong guys?
Page I'm trying to apply this it to is -http://www.cherishingmoments.co.uk/Portraits
Jay
Many thanks for the code
I was able to round the corners on my slideshow, works perfect for me. I just had to adjust the margins on Opera. Without that the drop shadow on the bottom gets cut off...
like on these pages:
http://www.richknechtphotography.com/Gallery-Index/DogAgility2013/JAG-AKC-Agility-Trial-June-14/Friday-Excellent-Standard-12
Figured it out. I had a "s" on ".sm-tile" . Took out the "s" and its fine.
www.richknechtphotography.com
I must have really done it wrong because after inserting this code site-wide, I can no longer see Folder or Gallery thumbnails on any pages!
And I had it working so well, except for those odd few thumbnails that stayed with squared edges! Dangit!
Any Help?
http://mcq.smugmug.com
www.richknechtphotography.com
http://www.richknechtphotography.com/Gallery-Index/DogAgility2013/Berks-County-Dog-Training-Club/Friday-Time-2-Beat-16-8/i-Pn37Sfz
www.richknechtphotography.com
1. Got collage landscape and collage portrait working OK. But on Grid format, the top corners are rounded while the bottom corners are not. Looks like the cut off right edge on the rightmost column that was reported and solved elsewhere in this thread. Is there a special CSS code for Grid?
2. The tips of my corners (the part rounded off) show a color other than my background. I've determined that the color showing thought is the "Primary Color" of the Theme. How to fix that?