How to get Map This button to appear?

bhellerbheller Registered Users Posts: 15 Big grins
edited June 27, 2009 in SmugMug Support
I read on this site (and successfully implemented) the code to get a photo with geocode info to cause a "Map This" button to appear at the top of a gallery. I have just loaded another gallery which has some photos with geo info in them, but the button is no longer magically appearing.

I have searched but can't find the original thread, which I hope will tell me what I have failed to do with this gallery versus the original. I believe the code was put in the footer and that it was supplied by a smugmug user.

Anybody remember it and can help me find it>

Thanks,

Bob

Edited - I realize now that the footer code is for the Download Button.
But I am still not sure why Map This appeared in one gallery and did not appear in the next gallery.
Can anyone direct me to relevant discussions?
Thanks.

www.AtlantaSports.smugmug.com

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited June 15, 2009
    What gallery is it not appearing in? Please post a link, thanks.
  • R.LeonardoR.Leonardo Registered Users Posts: 188 Major grins
    edited June 27, 2009
    How do I remove "Map This Button"
    Not sure what I did, but I have Map This button on home page now. How do I hide?
    R. Leonardo
    www.RobArtPhoto.com
    Whether he is an artist or not, the photographer is a joyous sensualist, for the simple reason that the eye traffics in feelings, not in thoughts. -Walker Evans
  • AllenAllen Registered Users Posts: 10,014 Major grins
    edited June 27, 2009
    R.Leonardo wrote:
    Not sure what I did, but I have Map This button on home page now. How do I hide?
    Add this to your CSS

    .homepage .map_this {display: none;}

    The gallery with the button not showing, go into the geo info for a photo and
    see if the lat and long are there, is so hit save. Maybe needs a kick start.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • R.LeonardoR.Leonardo Registered Users Posts: 188 Major grins
    edited June 27, 2009
    Thank you!

    I had to do this though, .homepage #map_this {display: none;}
    R. Leonardo
    www.RobArtPhoto.com
    Whether he is an artist or not, the photographer is a joyous sensualist, for the simple reason that the eye traffics in feelings, not in thoughts. -Walker Evans
  • AllenAllen Registered Users Posts: 10,014 Major grins
    edited June 27, 2009
    R.Leonardo wrote:
    Thank you!

    I had to do this though, .homepage #map_this {display: none;}
    headscratch.gif map_this is a class name not a div name. Requires a period not a #

    .homepage .map_this {display: none;}

    The first one below in your CSS is removing it everywhere. The second one does nothing.

    .map_this {
    display: none;
    }

    .homepage #map_this {
    display: block;

    }
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • R.LeonardoR.Leonardo Registered Users Posts: 188 Major grins
    edited June 27, 2009
    Gotcha. Thank you once again.
    R. Leonardo
    www.RobArtPhoto.com
    Whether he is an artist or not, the photographer is a joyous sensualist, for the simple reason that the eye traffics in feelings, not in thoughts. -Walker Evans
Sign In or Register to comment.