Rounded Corners

TallPhotoGuyTallPhotoGuy Registered Users Posts: 160 Major grins
edited December 18, 2013 in SmugMug Customization
How does one do rounded corners in gallery slides

Comments

  • 3PCo3PCo Registered Users Posts: 65 Big grins
    edited November 18, 2013
    Try this:
    /* Round corners */
    .sm-gallery-tiles .sm-tile img {
    border-radius: 8px;
    }
  • TallPhotoGuyTallPhotoGuy Registered Users Posts: 160 Major grins
    edited November 18, 2013
    Newbee - do i add a css block and put the code there
  • 3PCo3PCo Registered Users Posts: 65 Big grins
    edited November 18, 2013
    Yes, and the scope of the css block defines the scope of the command. So put it in All Galleries, or to a specific gallery. You can also target the command to other blocks on the page, but that's the hard part.

    Cheers
    af
  • Darter02Darter02 Registered Users Posts: 947 Major grins
    edited November 19, 2013
    I recommend placing CSS modifications in the Themes Advanced Tab. Unless you're doing something only on one page, you can end up with lots of redundant CSS mods hidden in blocks all over your site.

    Get to via Customize>Theme Tab>Active Theme wrench icon>Advanced>Custom CSS>Edit

    If you create new themes, you can maintain the same CSS mods simply by copy/pasting the codes in your main theme's custom CSS to you new one.
  • Ched77Ched77 Registered Users Posts: 9 Beginner grinner
    edited December 18, 2013
    Darter02 wrote: »
    I recommend placing CSS modifications in the Themes Advanced Tab. Unless you're doing something only on one page, you can end up with lots of redundant CSS mods hidden in blocks all over your site.

    Get to via Customize>Theme Tab>Active Theme wrench icon>Advanced>Custom CSS>Edit

    If you create new themes, you can maintain the same CSS mods simply by copy/pasting the codes in your main theme's custom CSS to you new one.

    Hi, so I've been trying to do this on my homepage for an hour now and with no joy. I've put the CSS in where you suggested above but still no joy, I wonder if you'd be able to offer some advice?

    Thank's in advance!
    Gav

    http://gavinphotography77.smugmug.com/
  • Hikin' MikeHikin' Mike Registered Users Posts: 5,467 Major grins
    edited December 18, 2013
    Ched77 wrote: »
    Hi, so I've been trying to do this on my homepage for an hour now and with no joy. I've put the CSS in where you suggested above but still no joy, I wonder if you'd be able to offer some advice?

    Thank's in advance!
    Gav

    http://gavinphotography77.smugmug.com/

    Try this:
    .sm-user-ui .sm-tiles .sm-tile-content, 
    .sm-user-ui .sm-tiles-column-organic .sm-tile-content.sm-tile-content-empty, 
    .sm-user-ui .sm-tiles-column-organic.sm-tiles-info-over .sm-tile-content, 
    .sm-user-ui .sm-tiles-column-organic.sm-tiles-info-cover .sm-tile-content {
        border-radius: 8px;
        }
    
  • Ched77Ched77 Registered Users Posts: 9 Beginner grinner
    edited December 18, 2013
    Try this:
    .sm-user-ui .sm-tiles .sm-tile-content, 
    .sm-user-ui .sm-tiles-column-organic .sm-tile-content.sm-tile-content-empty, 
    .sm-user-ui .sm-tiles-column-organic.sm-tiles-info-over .sm-tile-content, 
    .sm-user-ui .sm-tiles-column-organic.sm-tiles-info-cover .sm-tile-content {
        border-radius: 8px;
        }
    

    Ok, so I'm waiting for the downside of Smugmug to hit me, because in 5 days I've created a website I'm really happy with and the 2 times I've needed a solution someone has helped me out so fast!

    Thank you Mike, worked like a charm
  • Hikin' MikeHikin' Mike Registered Users Posts: 5,467 Major grins
    edited December 18, 2013
    Ched77 wrote: »
    Ok, so I'm waiting for the downside of Smugmug to hit me, because in 5 days I've created a website I'm really happy with and the 2 times I've needed a solution someone has helped me out so fast!

    Thank you Mike, worked like a charm

    The big downside (for me) is no more Javascript.

    Glad it worked. thumb.gif
Sign In or Register to comment.