Border around photos in Collage Landscape?
AKStudios
Registered Users Posts: 5 Beginner grinner
Good day,
This is my first post and I can't find another thread answer so I am hoping someone could help me out please? I am looking to add css to my galleries to add a border around the photos in the Collage Landscape view mode. I can find it for the Smugmug layout but that's it. I've even tried to swap the smugmug with Collage landscape but the code didn't work as I hoped.
Thanks for the assistance in advance. I am very appreciative!
Andrew
www.andrewkstudios.com
This is my first post and I can't find another thread answer so I am hoping someone could help me out please? I am looking to add css to my galleries to add a border around the photos in the Collage Landscape view mode. I can find it for the Smugmug layout but that's it. I've even tried to swap the smugmug with Collage landscape but the code didn't work as I hoped.
Thanks for the assistance in advance. I am very appreciative!
Andrew
www.andrewkstudios.com
0
Comments
With the caveat that it changes the aspect ratio of the image slightly, the further away the image is from being square to begin with. There are probably better solutions out there.
Please check out my gallery of customisations for the New SmugMug, more to come!
I have been trying to figure out css code to do the same thing to galleries within folders but I'm having trouble. For example this page (http://www.andrewkstudios.com/BJJGrapplingMMA) has folders and galleries and I'd like to put borders and rounded corners on this page. I've tried the same codes on this page css but it doesn't work the same. I'm new to css so any suggestions would be greatly appreciated. I'm also looking to put borders around this page but can't figure that out either. http://www.andrewkstudios.com/browse
Thank you in advance for the assistance. Your time is much appreciated.
Andrew
It worked.
I also wanted to have the same border on portrait collage galleries so I added ".sm-gallery-columnorganic" but then the border stopped working in landscape, and never worked in portrait collage. I also experimented with dropping the above code into my current site's main theme, but while it worked in the test gallery, it doesn't when applied to the theme's CSS.
I also tried to get it to apply to the following with no effect, and I don't understand why.
Images in a Feed: .sm-feed .sm-feed-item-description a img
Maps on a page: .leaflet-container .sm-page-widget-image
3x1 & 1x3 aspect images. Plus folders... Basically, everything I applied the rounded commands to.
The codes I use to round corners:
Before I really start to mess around, and possibly wreck things, could I just add a border command to all those rounding rules?