CSS issues

erik64erik64 Registered Users Posts: 48 Big grins
edited January 18, 2016 in SmugMug Customization
Hi folks, trying to get my site in order. It's mostly functioning ok, but there are a couple of things I cant figure out on my own.

1) Lightbox - Until they come up with a way to add margins around the image with the caption underneath, I've made the info bar invisible until you hover over it - which works fine if a caption exists, if it doesn't, instead of the uniform, semi-transparent gray bar along the bottom, I get a lighter gray bar spanning the gap between the slideshow-play button and other buttons on the right. I'd like to either make the lighter bar completely transparent or have the same darker uniform bar that I get when there is a caption present. I always have a larger uniform bar when logged in.

Here's a gallery that only has intermittent captions: https://erik64.smugmug.com/North-Haven-Music-Department-E/North-Haven-High-School-Band/

Also, a Share button and Buy Button always are present in my galleries. I'd like to remove them, but leave them in place in the lightbox. Any help on either of these fronts would be most appreciated.

Comments

  • erik64erik64 Registered Users Posts: 48 Big grins
    edited January 17, 2016
    Nevermind the lightbox problem - I figured that one out. I just need to get rid of the share and buy buttons in my galleries. Actually, It's Download and Buy buttons on my PC and Share and Buy buttons on my mobile devices.
  • tomnovytomnovy Registered Users Posts: 1,102 SmugMug Employee
    edited January 18, 2016
    Hi Erik,

    You can turn off both the BUY and SHARE button in the gallery settings section.

    Just open your gallery → click CUSTOMIZE → GALLERY SETTINGS:

    http://take.ms/FrFNj

    And

    http://take.ms/RiKaH

    Please be aware that the BUY button will always be visible for logged in account owner.
    SmugMug Support Hero | Customizer | My SmugMug site - http://www.photom.me | Customization Portal - https://customsmug.com/
  • erik64erik64 Registered Users Posts: 48 Big grins
    edited January 18, 2016
    Thanks, but that won't do it. Doing what you suggest also turns off "Buy" in the lightbox. Also, I'm not sure why, but I've got a download button that also appears with the buy button (on the gallery page) that has to go too (but again, not from the lightbox). The download button only appears on my PC, not on mobile devices. I don't want anything but captions appearing under my photos on the gallery page. Thanks.
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited January 18, 2016
    When logged in "download" will always show. Log off and look.

    This should only hide it in gallery and not lightbox.
    .sm-gallery-header .sm-gallery-buymenu {display:none}
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • erik64erik64 Registered Users Posts: 48 Big grins
    edited January 18, 2016
    Thanks, but no. that doesn't do it. It's not the header Buy button I want gone, It's the one in the caption area. The Dowmload button is also in the caption area and is there logged in or out. I want the captions to be able use the full width.

    You can see it here: https://erik64.smugmug.com/Kayaking/Block-Island-Paddle-9282013/
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited January 18, 2016
    erik64 wrote: »
    Thanks, but no. that doesn't do it. It's not the header Buy button I want gone, It's the one in the caption area. The Dowmload button is also in the caption area and is there logged in or out. I want the captions to be able use the full width.

    You can see it here: https://erik64.smugmug.com/Kayaking/Block-Island-Paddle-9282013/
    Try this one

    .sm-gallery-image-tools .sm-button-image-download,
    .sm-gallery-image-tools .sm-button-image-buy {display:none}
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • erik64erik64 Registered Users Posts: 48 Big grins
    edited January 18, 2016
    Thanks Allen, that did the trick. You the man!
Sign In or Register to comment.