Options

Delete the "Gallery is Empty" area

Robert_CRobert_C Registered Users Posts: 80 Big grins
edited January 23, 2014 in SmugMug Customization
I know the code is here somewhere but I can't find it. I need help for a CSS code to eliminate the "Gallery is Empty" area on an empty gallery. Thanks
www.bobbycanlobophotos.com

“Photography is not about cameras, gadgets, and gismos. Photography is about photographers. A camera didn't make a great picture any more than a typewriter wrote a great novel.” - Peter Adams, photographer ( Sydney, 1978 )

Comments

  • Options
    phaserbeamphaserbeam Registered Users Posts: 452 Major grins
    edited January 22, 2014
    Robert_C wrote: »
    I know the code is here somewhere but I can't find it. I need help for a CSS code to eliminate the "Gallery is Empty" area on an empty gallery. Thanks

    try this:
    /* Hide gallery-empty text when not logged in */
    .sm-gallery-empty {
    display:none;
    }
    /* Display upload button when logged in */
    .sm-user-loggedin .sm-gallery-empty {
    display:block;
    }
    

    Just a guess... maybe some one else has a better idea...
  • Options
    AceCo55AceCo55 Registered Users Posts: 950 Major grins
    edited January 23, 2014
    If that page is a Journal (Old) from your Legacy site, you will be MUCH better off creating a new PAGE (which wasn't available in Legacy and so we all used a Journal (Old) as a work around. You will be MUCH happier with a new page.
    My opinion does not necessarily make it true. What you do with my opinion is entirely up to you.
    www.acecootephotography.com
  • Options
    Robert_CRobert_C Registered Users Posts: 80 Big grins
    edited January 23, 2014
    phaserbeam wrote: »
    try this:
    /* Hide gallery-empty text when not logged in */
    .sm-gallery-empty {
    display:none;
    }
    /* Display upload button when logged in */
    .sm-user-loggedin .sm-gallery-empty {
    display:block;
    }
    
    Just a guess... maybe some one else has a better idea...

    Thanks a lot. It workedthumb.gif
    www.bobbycanlobophotos.com

    “Photography is not about cameras, gadgets, and gismos. Photography is about photographers. A camera didn't make a great picture any more than a typewriter wrote a great novel.” - Peter Adams, photographer ( Sydney, 1978 )
Sign In or Register to comment.