Options

Home Page profile-type photo size

PanonutPanonut Registered Users Posts: 12 Big grins
edited October 1, 2013 in SmugMug Customization
Is there a CSS snippet to change the dimensions of just the photo of me on the home page? [New SM, SM theme]. Tks, Panonut www.franklinharwoodphotography.com

Comments

  • Options
    Smug EricSmug Eric Registered Users, Retired Mod Posts: 333
    edited September 30, 2013
    Adding this to a css content block on your homepage should do it:

    .sm-page-widget-profile-biophoto {
    width: 200px !important;
    height: 200px !important;
    }

    Feel free to adjust the size to fit your preference,
    Eric
    Support Hero and Customeister
    http://www.smugmug.com/help
  • Options
    leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited October 1, 2013
    Smug Eric wrote: »
    Adding this to a css content block on your homepage should do it:

    Eric,
    Is there a reason why CSS blocks take up space on the page, even though all you're doing is dropping in code? For example, place a CSS block in bottom of the footer and you'll notice there's now a blank space on the bottom of the page where the CSS block is. The new SmugMug actually inserts a widget <DIV> for it, even though it has no content in it.

    Because of this I don't recommend putting CSS blocks ANYWHERE on ANY page. I'd rather put the CSS code in the "Advanced" section of the theme. In this case, it may make sense to use a CSS block because he doesn't necessarily want to restrict ALL bio-pages to a given height/width. I got around this by creating multiple themes with different CSS code ... but it's a pain to keep track of everything.
    dGrin Afficionado
    Former SmugMug Product Team
    aaron AT aaronmphotography DOT com
    Website: http://www.aaronmphotography.com
    My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Sign In or Register to comment.