View Full Version : Custom CSS causing password thumb to not display
KvPhoto
Aug-28-2006, 06:59 PM
I am not getting the private gallery image on my homepage which has the padlock on it? Any thoughts?
www.kvtphotography.com
Barb
Aug-28-2006, 07:08 PM
I am not getting the private gallery image on my homepage which has the padlock on it? Any thoughts?
www.kvtphotography.com (http://www.kvtphotography.com)
Kristina,
It's because you are using the shadowback on your galleries on the home page. For whatever reason (that I've yet to figure out), that breaks those thumbs. I uploaded the thumbs to one of my private galleries and then featured that photo to get mine to show on the homepage. You can grab the thumb here if you'd like, download it and then upload to your site.
http://photoscapedesign.smugmug.com/photos/73178902-L.gif
Andy
Aug-28-2006, 07:18 PM
Well, if you look at your page with no CSS, the thumbnail shows. So there's something in your CSS. It's late here in NY I can help on Tuesday if you haven't gotten the answer yet, just bump this thread :D
Barb
Aug-28-2006, 07:25 PM
Well, if you look at your page with no CSS, the thumbnail shows. So there's something in your CSS. It's late here in NY I can help on Tuesday if you haven't gotten the answer yet, just bump this thread :D
Okay, well I may have figured it out. Remove only the following line in red from your customization. Leave the other code in there.
#categoriesBox .miniBox .photo img {
_background-image: none;
}
EDIT: Never mind. That didn't work either. Back to the drawing board!
Mike Lane
Aug-28-2006, 08:10 PM
Remove the red and you'll be all set.
#categoriesBox .miniBox .photo img {
background-image: url(http://kvphoto.smugmug.com/photos/91349241-O.png);
_background-image: none;
background-position: bottom left;
padding: 0px 0px 5px 5px;
border: none;
width: auto;
height: auto;
}
Protected galleries use a 1px transparent image in front of the layer that contains the background image. So when you set width:auto and height:auto you are in this instance telling that image to shrink down to its actual 1px by 1px dimensions. And then this image: http://photoscapedesign.smugmug.com/photos/91349241-O.png is a massive dropshadow-looking image which you are assigning to the img itself. So you have to get rid of that too.
Actually you could probably get rid of that entire thing and you'd be good to go.
KvPhoto
Aug-29-2006, 08:24 AM
Hey guys, I only just noticed the replies to this thread! I guess I forgot to subscribe to it to get the emails, going to go try your suggestions now!
KvPhoto
Aug-29-2006, 08:27 AM
Ok, I have the image now, I would prefer to lose the dropshadow. I think that is also causing the private gallery image to flicker when you hover over it.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.