smugmug and search results = sales

13»

Comments

  • smhs.imagessmhs.images Registered Users Posts: 137 Major grins
    edited August 13, 2006
    Sebastian

    I tried this in my css box

    /* hides captions for galleries listed */
    .caption {display: none}
    .caption .gallery_1675502, .caption .gallery_686279, .caption .gallery_1676054,.caption .gallery_612745, .caption .gallery_660711{display: block}

    and it didn't do anything but make my banner go away. Did I type it correctly? I also tried just the
    .caption {display: none} and that didn't work either.
    Shawna
    www.shawnaseto.com

    Nobody gets in to see the wizard. Not nobody, not no how.

    Join Smugmug get $5 bucks off!
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 13, 2006
    Sebastian

    I tried this in my css box

    /* hides captions for galleries listed */
    .caption {display: none}
    .caption .gallery_1675502, .caption .gallery_686279, .caption .gallery_1676054,.caption .gallery_612745, .caption .gallery_660711{display: block}

    and it didn't do anything but make my banner go away. Did I type it correctly? I also tried just the
    .caption {display: none} and that didn't work either.
    semi colon after block and none
  • Mike LaneMike Lane Registered Users Posts: 7,106 Major grins
    edited August 13, 2006
    Andy wrote:
    semi colon after block and none

    That shouldn't be the problem - although it is the technically correct thing to do thumb.gif. I think the problem is that it should be the other way. Hence:

    /* hides captions for galleries listed */
    .caption {display: none;}
    .gallery_1675502 .caption, .gallery_686279 .caption, .gallery_1676054 .caption, .gallery_612745 .caption, .gallery_660711 .caption {display: block;}


    Notice that the .caption comes after the .gallery_xxxxxx since .caption is a child element of the .gallery_xxxxxxx elements? Also it's very important that you have the space between the last .caption and the following {. Without it the whole thing won't work.
    Y'all don't want to hear me, you just want to dance.

    http://photos.mikelanestudios.com/
  • smhs.imagessmhs.images Registered Users Posts: 137 Major grins
    edited August 13, 2006
    Mike Lane wrote:
    That shouldn't be the problem - although it is the technically correct thing to do thumb.gif. I think the problem is that it should be the other way. Hence:

    /* hides captions for galleries listed */
    .caption {display: none;}
    .gallery_1675502 .caption, .gallery_686279 .caption, .gallery_1676054 .caption, .gallery_612745 .caption, .gallery_660711 .caption {display: block;}


    Notice that the .caption comes after the .gallery_xxxxxx since .caption is a child element of the .gallery_xxxxxxx elements? Also it's very important that you have the space between the last .caption and the following {. Without it the whole thing won't work.

    I tried the above and nothing happens. But it didn't break my banner this time.
    Shawna
    www.shawnaseto.com

    Nobody gets in to see the wizard. Not nobody, not no how.

    Join Smugmug get $5 bucks off!
  • smhs.imagessmhs.images Registered Users Posts: 137 Major grins
    edited August 13, 2006
    Okay so, something else was wrong with my css that is why it wasn't working. This was the code that ended up working for anyone who is interested. Thanks for the help. I appreciate it, as always!

    /* hides captions for galleries listed */
    .caption {display: none;}
    .caption .gallery_1675502, .caption .gallery_686279, .caption .gallery_1676054,.caption .gallery_612745, .caption .gallery_660711{display: block;}
    Shawna
    www.shawnaseto.com

    Nobody gets in to see the wizard. Not nobody, not no how.

    Join Smugmug get $5 bucks off!
  • Mike LaneMike Lane Registered Users Posts: 7,106 Major grins
    edited August 13, 2006
    Okay so, something else was wrong with my css that is why it wasn't working. This was the code that ended up working for anyone who is interested. Thanks for the help. I appreciate it, as always!

    /* hides captions for galleries listed */
    .caption {display: none;}
    .caption .gallery_1675502, .caption .gallery_686279, .caption .gallery_1676054,.caption .gallery_612745, .caption .gallery_660711{display: block;}

    What exactly is that doing for you again? ear.gif It looks like you're trying to hide the captions everywhere except for in those 5 galleries. Do I have that correct? If so, I'd say that it isn't working since I can see captions in all of your galleries not just the 5 listed. And trust me on this one, the .caption must go behind the .gallery_xxxxxx to make this work at all deal.gif
    Y'all don't want to hear me, you just want to dance.

    http://photos.mikelanestudios.com/
  • smhs.imagessmhs.images Registered Users Posts: 137 Major grins
    edited August 14, 2006
    Okay, yes I was just looking at it. Using this gallery as an example http://www.shawnaseto.com/gallery/612745. With this code


    /* hides captions for galleries listed */
    .caption {display: none;}
    .gallery_1675502 .caption, .gallery_686279 .caption, .gallery_1676054 .caption, .gallery_612745 .caption, .gallery_660711 .caption {display: block;}



    Nothing happens to the captions, they stay for all views.


    Using this code

    /* hides captions for galleries listed */
    .caption {display: none;}
    .caption .gallery_1675502, .caption .gallery_686279, .caption .gallery_1676054,.caption .gallery_612745, .caption .gallery_660711{display: block;}

    The traditional view and the journal view do not show captions but others do.

    Also looking at this gallery http://www.shawnaseto.com/gallery/516006 I just realized that it did remove the captions from this gallery in journal and traditional view, which wasn't what I wanted.


    I tried this (and tested it)
    /* removes caption in filmstrip and smugmug modes modes */
    #caption_bottom {display: none}

    But that wasn't what I wanted either. Basically I would like to have captions hidden in certain galleries. Or, if I had to choose, I would like to eliminate captions in the traditional view for ALL galleries.
    Shawna
    www.shawnaseto.com

    Nobody gets in to see the wizard. Not nobody, not no how.

    Join Smugmug get $5 bucks off!
  • Mike LaneMike Lane Registered Users Posts: 7,106 Major grins
    edited August 14, 2006
    Let's try this:
    /* Display the captions in selected galleries only */
    
    /* Step 1, hide the captions everywhere and make sure the top caption never shows up */
    #bodyWrapper .caption,
    #bodyWrapper #caption_top {display:none;}
    
    /* Step 2, override the caption hiding in the following galleries */
    #bodyWrapper .gallery_1675502 .caption,
    #bodyWrapper .gallery_686279 .caption,
    #bodyWrapper .gallery_1676054 .caption,
    #bodyWrapper .gallery_612745 .caption,
    #bodyWrapper .gallery_660711 .caption {display:block}
     
    
    Y'all don't want to hear me, you just want to dance.

    http://photos.mikelanestudios.com/
  • smhs.imagessmhs.images Registered Users Posts: 137 Major grins
    edited August 14, 2006
    Mike Lane wrote:
    Let's try this:
    /* Display the captions in selected galleries only */
     
    /* Step 1, hide the captions everywhere and make sure the top caption never shows up */
    #bodyWrapper .caption,
    #bodyWrapper #caption_top {display:none;}
     
    /* Step 2, override the caption hiding in the following galleries */
    #bodyWrapper .gallery_1675502 .caption,
    #bodyWrapper .gallery_686279 .caption,
    #bodyWrapper .gallery_1676054 .caption,
    #bodyWrapper .gallery_612745 .caption,
    #bodyWrapper .gallery_660711 .caption {display:block}
     
    


    Okay that seems to work but it does the opposite of what I need. Those are the galleries I want NO captions to show up in and that makes them the only galleries that the captions show up in. I guess I could make it work by listing all the galleries that I want to see captions in, but they are the majority. Can this be reversed?

    BTW, thanks for your help. I wish I knew all this code stuff!
    Shawna
    www.shawnaseto.com

    Nobody gets in to see the wizard. Not nobody, not no how.

    Join Smugmug get $5 bucks off!
  • smhs.imagessmhs.images Registered Users Posts: 137 Major grins
    edited August 14, 2006

    I tried this (and tested it)
    /* removes caption in filmstrip and smugmug modes modes */
    #caption_bottom {display: none}

    But that wasn't what I wanted either. Basically I would like to have captions hidden in certain galleries. Or, if I had to choose, I would like to eliminate captions in the traditional view for ALL galleries.

    I edited my previous post with the above...
    Shawna
    www.shawnaseto.com

    Nobody gets in to see the wizard. Not nobody, not no how.

    Join Smugmug get $5 bucks off!
  • Mike LaneMike Lane Registered Users Posts: 7,106 Major grins
    edited August 14, 2006
    Okay that seems to work but it does the opposite of what I need. Those are the galleries I want NO captions to show up in and that makes them the only galleries that the captions show up in. I guess I could make it work by listing all the galleries that I want to see captions in, but they are the majority. Can this be reversed?

    BTW, thanks for your help. I wish I knew all this code stuff!
    I guess I'm all confused. Sure It can be reversed easily. Remove all that code I gave you earlier and use this:
    /* Remove the captions from certain galleries */
    #bodyWrapper .gallery_1675502 .caption,
    #bodyWrapper .gallery_686279 .caption,
    #bodyWrapper .gallery_1676054 .caption,
    #bodyWrapper .gallery_612745 .caption,
    #bodyWrapper .gallery_660711 .caption {display:none;}
    
    Y'all don't want to hear me, you just want to dance.

    http://photos.mikelanestudios.com/
  • smhs.imagessmhs.images Registered Users Posts: 137 Major grins
    edited August 14, 2006
    Mike Lane wrote:
    I guess I'm all confused. Sure It can be reversed easily. Remove all that code I gave you earlier and use this:
    /* Remove the captions from certain galleries */
    #bodyWrapper .gallery_1675502 .caption,
    #bodyWrapper .gallery_686279 .caption,
    #bodyWrapper .gallery_1676054 .caption,
    #bodyWrapper .gallery_612745 .caption,
    #bodyWrapper .gallery_660711 .caption {display:none;}
    

    WOO HOO!!! That appears to have done exactly what I needed. Just an FYI, captions still show up if one of these photos ends up in your favorite photos (which is what I wanted!!!).
    Thanks so much again!clap.gif
    Shawna
    Shawna
    www.shawnaseto.com

    Nobody gets in to see the wizard. Not nobody, not no how.

    Join Smugmug get $5 bucks off!
Sign In or Register to comment.