Page 1 of 1

Modifying Thickbox Album

Posted: Thu Aug 31, 2006 7:22 pm
by Muzzy
Hi.

I'm using the Thickbox template and style for the Album and have altered things well.
But I would like to get rid of the red boxy thing that appears at the bottom of the thumbnails (on hover).
I cannot find it anywhere, can anyone tell me where the css code is so that I can remove it please?

Thanks.
Mike.

Re: Modifying Thickbox Album

Posted: Thu Aug 31, 2006 7:51 pm
by tsw
url would be nice but as a wild quess add border:0 to images and text-decoration:none to a tags around the images...

Re: Modifying Thickbox Album

Posted: Thu Aug 31, 2006 8:05 pm
by Muzzy
Hi TSW.
tsw wrote: url would be nice
Sorry... Visit here http://www.19sixtyone.co.uk/cms/index.p ... ock_photos for new site.

Thanks.
Mike.

Re: Modifying Thickbox Album

Posted: Fri Sep 01, 2006 4:08 am
by Dr.CSS
It's from this...


#content a:link { padding: 0 2px; border-bottom: 1px solid #999999; }

#content a:visited { padding: 0 2px; border-bottom: 1px solid #999999; }

#content a:hover,
#content a:active
{
color: #ffffff;
background-color: #993333;
border-bottom-color: #993333;
}

Re: Modifying Thickbox Album

Posted: Fri Sep 01, 2006 6:33 am
by Muzzy
Hi Mark.

Thanks for that. I thought after I posted that might be the problem.
Basically it is reading my css for links on the page as per hierarchy/inheritance I guess. Now all I have to do is figure out how to stop this applying to Thickbox, some kind os css statement I guess, any ideas what might work?

Regards.
Mike.

Re: Modifying Thickbox Album

Posted: Fri Sep 01, 2006 7:07 am
by tsw
#content ul.albumlist a {
background-color:#fff;
text-decoration:none;
border:0;
}

this one has higher specificity so it overrides those settings in ul.albumilist

Re: Modifying Thickbox Album

Posted: Fri Sep 01, 2006 9:59 am
by Muzzy
Thanks tsw.

I put the code in the thickbox css sheet, but it still looks like it is picking up my site styles.
Just in case, I tried it in my stylesheet, but still no cure. I have left the code in place in the thickbox stylesheet, to work on some more.

Thanks.
Mike.

Re: Modifying Thickbox Album

Posted: Fri Sep 01, 2006 5:59 pm
by Muzzy
Hi tsw and Mark.

I finally got it. Added your code snippet plus my bit (see below) to the Fhickbox css sheet and it works fine now, no red blocks from my content links;

/* For Thickbox Thumbs */
#content ul.albumlist a {
background-color:#fff;
text-decoration:none;
border:0;
}

#content ul.picturelist a {
background-color:#fff;
text-decoration:none;
border:0;
}

Thanks friends.
Mike.