Map this question
ecodoc
Registered Users Posts: 2 Beginner grinner
Hello-
I set up my smugmug page where there are Header, Navbar, Slideshow on the homepage but no galleries on the homepage, and a separate page with the galleries.
My question is, I want to turn off the "map this" button on the homepage but not on the galleries page. I use the script below but then the "map this" button disappear from both the homepage and the galleries page. Is there a different script for what I want to do?
Thanks a bunch
/* turn map this button off */
.map_this {
display: none;
}
I set up my smugmug page where there are Header, Navbar, Slideshow on the homepage but no galleries on the homepage, and a separate page with the galleries.
My question is, I want to turn off the "map this" button on the homepage but not on the galleries page. I use the script below but then the "map this" button disappear from both the homepage and the galleries page. Is there a different script for what I want to do?
Thanks a bunch
/* turn map this button off */
.map_this {
display: none;
}
0
Comments
Well, they're not scripts, it's CSS.
I'm not an expert, but this should work:
.homepage .map_this {
display: block;
}
or something very much like that
Dgrin FAQ | Me | Workshops
Thank you DavidTo.
It amost work with the script, I mean the CSS that you gave.
I said "almost", because to make it works, I change the CSS to this
.homepage .map_this {
display: none;
}
Thanks!
Oh, I should have read your post closer, I had it backwards, thinking you wanted to turn it back on for your homepage. Silly.
Dgrin FAQ | Me | Workshops