Options

Is there a way to hide

Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
edited September 26, 2008 in SmugMug Support
the "add caption" :dunno
Please. I have been in the customize gallery but did not see it ...
Am I missing something ?:dunno
Thank you. :D
All the best ! ... António Correia - Facebook

Comments

  • Options
    denisegoldbergdenisegoldberg Administrators Posts: 14,242 moderator
    edited September 2, 2008
    the "add caption"
    Please. I have been in the customize gallery but did not see it ... Am I missing something?
    Are you talking about the "add caption" under your photos in a gallery? That's only visible when you are logged in, so no one else will see it.

    --- Denise
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 3, 2008
    Are you talking about the "add caption" under your photos in a gallery? That's only visible when you are logged in, so no one else will see it.

    --- Denise

    Is it ? ne_nau.gif
    Huumm. Silly me.
    bowdown.gifDthumb.gif
    All the best ! ... António Correia - Facebook
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 3, 2008
    Is it ? ne_nau.gif
    Huumm. Silly me.
    bowdown.gifDthumb.gif

    No Denise. Look here for example. Or here.
    I was logged out on another browser. Am I missing something ?ne_nau.gif

    You can see what I have inserted in "add caption". I want that. I just want to track where my photos are inserted ... but I don't want you to see it.mwink.gif

    See what I mean now ?
    :Dthumb.gif
    All the best ! ... António Correia - Facebook
  • Options
    ivarivar Registered Users Posts: 8,395 Major grins
    edited September 3, 2008
    you want to totally remove the caption itself you mean?

    You can't do that, in the settings anyway. You could do that with CSS.
    Add this to your CSS:
    .gallery_1587711 #caption_bottom { display: none; }

    It will remove the captions for all images in that gallery.
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 3, 2008
    ivar wrote:
    you want to totally remove the caption itself you mean?

    You can't do that, in the settings anyway. You could do that with CSS.
    Add this to your CSS:
    .gallery_1587711 #caption_bottom { display: none; }

    It will remove the captions for all images in that gallery.

    :Dbowdown.gifthumb
    All the best ! ... António Correia - Facebook
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 5, 2008
    ivar wrote:
    you want to totally remove the caption itself you mean?

    You can't do that, in the settings anyway. You could do that with CSS.
    Add this to your CSS:
    .gallery_1587711 #caption_bottom { display: none; }

    It will remove the captions for all images in that gallery.

    Ivar. Question of an (the) ignorant:
    Where is the CSS ? ne_nau.gif

    Will it remove the captions for all images from the public ?
    Will I be able to see and edit the captions ? I would like to.
    bowdown.gif
    All the best ! ... António Correia - Facebook
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited September 5, 2008
    Ivar. Question of an (the) ignorant:
    Where is the CSS ? ne_nau.gif

    Will it remove the captions for all images from the public ?
    Will I be able to see and edit the captions ? I would like to.
    bowdown.gif
    This
    .gallery_1587711 #caption_bottom { display: none; }
    will remove all captions in that gallery only.

    If you want to see them when logged in add this under that in your CSS.

    .loggedIn .gallery_1587711 #caption_bottom { display: block; }
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 5, 2008
    Allen wrote:
    This
    .gallery_1587711 #caption_bottom { display: none; }
    will remove all captions in that gallery only.

    If you want to see them when logged in add this under that in your CSS.

    .loggedIn .gallery_1587711 #caption_bottom { display: block; }

    And the CSS is ... ne_nau.gif
    bowdown.gifD
    All the best ! ... António Correia - Facebook
  • Options
    mike.strockmike.strock Registered Users Posts: 147 Major grins
    edited September 5, 2008
    And the CSS is ... ne_nau.gif
    bowdown.gifD

    In the control panel, under Customization settings. The first BIG box is CSS .

    Mike.
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 5, 2008
    In the control panel, under Customization settings. The first BIG box is CSS . Mike.
    bowdown.gifMike.:D
    Meaning that the number is the number of the gallery ?
    If so, how do I know the number of a gallery ? ne_nau.gif

    I tried but something must be missing because it is not working...
    I would like to apply this to all galleries.

    Thank you for your patience. :D

    What I have at the bottom is:

    ...
    #navcontainer ul li a:hover {
    color: #fff;
    background-color: #259;
    }
    .gallery_1587711 #caption_bottom { display: none; }
    .loggedIn .gallery_1587711 #caption_bottom { display: block; }
    All the best ! ... António Correia - Facebook
  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited September 5, 2008
    bowdown.gifMike.:D
    Meaning that the number is the number of the gallery ?
    If so, how do I know the number of a gallery ? ne_nau.gif

    I tried but something must be missing because it is not working...
    I would like to apply this to all galleries.

    Thank you for your patience. :D

    What I have at the bottom is:

    ...
    #navcontainer ul li a:hover {
    color: #fff;
    background-color: #259;
    }
    .gallery_1587711 #caption_bottom { display: none; }
    .loggedIn .gallery_1587711 #caption_bottom { display: block; }

    It doesn't work in that gallery because you are not allowing customizations to be active in that gallery. That could either be because you set "Hide Owner" to true for that gallery (which does not look like the case because I see breadcrumbs) or because Appearance is set to "Smugmug" instead of "Custom" in the customize gallery screen. Please look in the customize gallery screen for that gallery to make sure that Appearanced is set to "Custom" which allows the above CSS customizations to be active.

    If you want this CSS customization to hide captions to be active globally in all galleries, then just remove the .gallery_1587711 from both lines of CSS and it will be true for all galleries, not just that one.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 5, 2008
    jfriend wrote:
    It doesn't work in that gallery because you are not allowing customizations to be active in that gallery. That could either be because you set "Hide Owner" to true for that gallery (which does not look like the case because I see breadcrumbs) or because Appearance is set to "Smugmug" instead of "Custom" in the customize gallery screen. Please look in the customize gallery screen for that gallery to make sure that Appearanced is set to "Custom" which allows the above CSS customizations to be active.

    If you want this CSS customization to hide captions to be active globally in all galleries, then just remove the .gallery_1587711 from both lines of CSS and it will be true for all galleries, not just that one.
    Great help ! Great ! It's not the first time you do so. Thank you. Thank you.bowdown.gifbow:D

    There must be here a very small detail which is responsible for the error...

    But ... Still not working. :cry There must be some little point, comma or what ever I am doing wrong.

    1. I have changed the Appearance to Custom in "My last ones" gallery with the theme "Smugmug Classic"

    2. My last bit of CSS goes like this:

    #navcontainer ul li a:hover {
    color: #fff;
    background-color: #259;
    }
    #caption_bottom { display: none; }
    .loggedIn #caption_bottom { display: block; }


    3. In fact, I would like that only I could see the "add caption" in all galleries when logged in and nobody else.
    That is why I erased .gallery_1587711 as you pointed out.:D

    4. But applying this text in CSS and settings to "My last ones" will it reach the other galleries as well ?
    I think the answer is yes if the appearance is to Custom in that gallery.
    Am I thinking correctly ? Huuummm. I think I am correct.mwink.gif


    BTW - The customization was updated successfully as stated at the top of the CSS page.
    :Dbowdown.gifbowthumb.gif

    :bash :bash :bash BUT OF COURSE !! HOW DO I KNOW IF IT WORKS IF I AM LOGGED IN ALL THE TIME ???!!! I AM SHOUTING TO MYSELF :bash :bash :bash


    AND YYYEEEESSSS IT WORKS. Of course. Fantastic. Sorry.
    Have a nice week end.:D :D:D:D
    All the best ! ... António Correia - Facebook
  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited September 5, 2008
    AND YYYEEEESSSS IT WORKS. Of course. Fantastic.

    Great! I feel like I just read a novel on a day in the life of Antonio - how fun!
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 6, 2008
    jfriend wrote:
    Great! I feel like I just read a novel on a day in the life of Antonio - how fun!

    bowdown.gifbow:D:Dthumb.gifthumb
    All the best ! ... António Correia - Facebook
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 26, 2008
    J Friend. Good day !:D

    Everything works fine except that when we park for a few seconds the mouse on the photo itself we can see the infos I wanted to be hidden all the time.:cry

    Any way to overcome this IYP ? mwink.gif

    bowdown.gifDthumb.gif
    All the best ! ... António Correia - Facebook
  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited September 26, 2008
    J Friend. Good day !:D

    Everything works fine except that when we park for a few seconds the mouse on the photo itself we can see the infos I wanted to be hidden all the time.:cry

    Any way to overcome this IYP ?

    Hmmmm. Those are coming from the alt and/or title attributes that Smugmug is putting on the images and the little pop-ups are being done by the browser itself (I think). As we sit here right now, the only way I know of to do this would involve some javascript that clears those attributes from each thumb and main image. If you want that javascript, let me know and I can probably provide it. It's possible there's a simpler way (ideally with CSS), but not that I know of at the moment.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 26, 2008
    jfriend wrote:
    Hmmmm. Those are coming from the alt and/or title attributes that Smugmug is putting on the images and the little pop-ups are being done by the browser itself (I think). As we sit here right now, the only way I know of to do this would involve some javascript that clears those attributes from each thumb and main image. If you want that javascript, let me know and I can probably provide it. It's possible there's a simpler way (ideally with CSS), but not that I know of at the moment.

    Thank you J Friend.bowdown.gif
    I knew I could count on you :D
    If you would give me that javascript I wouldn't know what to do with it ...rolleyes1.gif
    All the best ! ... António Correia - Facebook
  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited September 26, 2008
    Thank you J Friend.<img src="https://us.v-cdn.net/6029383/emoji/bowdown.gif&quot; border="0" alt="" >
    I knew I could count on you :D
    If you would give me that javascript I wouldn't know what to do with it ...<img src="https://us.v-cdn.net/6029383/emoji/rolleyes1.gif&quot; border="0" alt="" >
    I can't tell from your post, if you want the javascript code or not.

    Here's a lightly tested version of the code (it works for me). You would copy this code from here and put it in the "Footer Javascript" section of your customizations. This will remove the tooltip pop-ups from all photos on your site.
    function RemoveCaptionPopups()
    {
        YD.getElementsByClassName("photo", "div", document.body, ModTitle);
        
        function ModTitle(element)
        {
            var imgs = element.getElementsByTagName("img");
            for (var i = 0; i < imgs.length; i++)
            {
                imgs[i].setAttribute("title", "");
                imgs[i].setAttribute("alt", "");
            }
        }
    }
    
    YAHOO.util.Event.onDOMReady(RemoveCaptionPopups);
    onPhotoShow.subscribe(RemoveCaptionPopups);
    
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 26, 2008
    I didn't dare to ask for it, but I wanted it, yes.
    Thank you J Friend.
    I will go and copy these instructions to where you told me, in a moment.
    I do thank you. Thank you so much. bowdown.gifbowbowdown.gif
    :D:D:Dthumb.gifthumbthumb.gif
    All the best ! ... António Correia - Facebook
  • Options
    Antonio CorreiaAntonio Correia Registered Users Posts: 6,241 Major grins
    edited September 26, 2008
    I did it and the yellow box is gone but it appears when we see the photos larger, this is when we click on it.
    OK don't bother ! :Dbowdown.gifbowbowdown.gif
    All the best ! ... António Correia - Facebook
Sign In or Register to comment.