Options

Add border to image within content block on page

debmdebm Registered Users Posts: 3 Beginner grinner
edited September 11, 2015 in SmugMug Customization
Hi folks -
Been researching this extensively and coming up empty. Can someone point me to the code that places a border around an image that is in a single/ multiple image content block on a page? I am not referring to galleries (thumbs, lightbox, main), rather an actual page with text and images.
Thanks!
deb

Comments

  • Options
    AllenAllen Registered Users Posts: 10,012 Major grins
    edited September 10, 2015
    Got a link to this page?
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    debmdebm Registered Users Posts: 3 Beginner grinner
    edited September 10, 2015
    Allen wrote: »
    Got a link to this page?

    Sure - here's an example.

    There are two multiple photo blocks based on photos I choose (not a folder or gallery). Trying to determine if it's easier to dynamically assign border, or add before image export.

    Thx.
  • Options
    AllenAllen Registered Users Posts: 10,012 Major grins
    edited September 10, 2015
    debm wrote: »
    Sure - here's an example.

    There are two multiple photo blocks based on photos I choose (not a folder or gallery). Trying to determine if it's easier to dynamically assign border, or add before image export.

    Thx.
    See if this works for you. It is specific for that page.

    .sm-page-node-GnRXW .sm-tile-content {
    border: 4px double #ccc;
    }
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    debmdebm Registered Users Posts: 3 Beginner grinner
    edited September 11, 2015
    Yep - that did the trick!

    A question in return:

    While I like the double line and 4px width, I don't want it to encroach on the image - rather placed on the outside. Is this possible?
Sign In or Register to comment.