Gallery Customization Help

carroll1carroll1 Registered Users Posts: 7 Beginner grinner
edited September 12, 2013 in SmugMug Customization
I want to be able to apply 1 of 5 different gallery looks to a new gallery that I create.

Gallery A template would have a custom header image, a custom form on the left side and a custom facebook like icon. Gallery B template would have different version of all of these items.

How do I go about creating a way to do this, EASILY. I know I can go in and customize "just this gallery", but that would take forever because I have over 300 galleries that I want to apply one of these 5 looks to.

I'm guessing custom CSS within a custom theme? Thanks for any help!!

Comments

  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited September 12, 2013
    carroll1 wrote: »
    I want to be able to apply 1 of 5 different gallery looks to a new gallery that I create.

    Gallery A template would have a custom header image, a custom form on the left side and a custom facebook like icon. Gallery B template would have different version of all of these items.

    How do I go about creating a way to do this, EASILY. I know I can go in and customize "just this gallery", but that would take forever because I have over 300 galleries that I want to apply one of these 5 looks to.

    I'm guessing custom CSS within a custom theme? Thanks for any help!!

    I don't know how you'd go about adding CSS to set which gallery would have which settings without having to customize "just this gallery" anyways. Is there any organization to which galleries would get which theme? For example, can you group the different themes under folders? A folder for "Theme A", a folder for "Theme B", etc. Galleries inherit their parent attributes so you may be able to do something that way, but I also think it's difficult or not possible.

    Most likely not worth the effort :(
    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
  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited September 12, 2013
    leftquark wrote: »
    I don't know how you'd go about adding CSS to set which gallery would have which settings without having to customize "just this gallery" anyways. Is there any organization to which galleries would get which theme? For example, can you group the different themes under folders? A folder for "Theme A", a folder for "Theme B", etc. Galleries inherit their parent attributes so you may be able to do something that way, but I also think it's difficult or not possible.

    Most likely not worth the effort :(

    On second thought, I don't think galleries inherit their folders CSS setting ... they follow the "All Galleries" setting, so I don't think it's possible.
    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
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited September 12, 2013
    Smugmug has removed all group customization possibilities as there are no flow down body classes.
    http://www.dgrin.com/showthread.php?t=239444
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • carroll1carroll1 Registered Users Posts: 7 Beginner grinner
    edited September 12, 2013
    I'm ok with doing a "just this gallery" adjustment...provided that it would then just be a matter of selecting a custom theme. By selecting that custom theme, all of my requirements would be applied (the specific header, form and facebook icon).

    That being said, can CSS of a custom theme be utilized to set the header, form and facebook icon?

    Thanks for the quick responses!
  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited September 12, 2013
    carroll1 wrote: »
    I'm ok with doing a "just this gallery" adjustment...provided that it would then just be a matter of selecting a custom theme. By selecting that custom theme, all of my requirements would be applied (the specific header, form and facebook icon).

    That being said, can CSS of a custom theme be utilized to set the header, form and facebook icon?

    Thanks for the quick responses!

    Yes. You would need to create a theme for "Theme A", one for "Theme B", etc. And you can just select that theme as your active theme.

    There's CSS code in this forums for adjusting the "Like" button. You can also look into CSS code to show or hide certain sections. You may need to put your header and form in the "Entire Site" but in your CSS for "Theme A" you can set that section to "display: none;" to hide it, and in the theme you want it on you don't put the display:none. Does that make sense?

    For example, my SM site has a navbar on the left and uses the SM layout, which puts thumbnails in the center and the photo on the right. On iPads in portrait orientation this doesn't fit, so I replace the left navbar with a top navbar. To do this I went into "Entire Site" and placed a horizontal navbar in my header. I also have a vertical navbar on the left sidebar. Using CSS I hide the header navbar for everything except for iPads in vertical orientation. For iPad's in vertical orientation I then hide the left navbar.

    Something similar should work for you.
    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
  • carroll1carroll1 Registered Users Posts: 7 Beginner grinner
    edited September 12, 2013
    I get what you are saying. I'll need to read up CSS for sure. Thank you very much for your help.

    If anyone would like to work with me via an hourly rate on the CSS customizations, please PM me!
Sign In or Register to comment.