forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: kehbop on January 23, 2006, 04:21:21 am

Title: Change a table in displayimage.php black
Post by: kehbop on January 23, 2006, 04:21:21 am
I want to change the table surrounding an image in displayimage.php to be black. (This is because I am showing movies and black backgrounds help contrast the movie.)

I went into displayimage.php and edited the table data around the php code to change it black. That didn't work. The assume it's because the style tags are overiding my changes. So how would I change the background black for only the table behind the image?

Should be an easy one I tihnk.
Title: Re: Change a table in displayimage.php black
Post by: Tranz on January 23, 2006, 05:32:16 am
I'm not sure exactly which part you're referring to so I'll give the possibilities and you can figure it out:

In your theme's style.css:
.image
.imageborder
.display_media
Title: Re: Change a table in displayimage.php black
Post by: kehbop on January 27, 2006, 08:40:59 pm
This is as clear as I can put it:

"The table that contains the image display in the displayimage.php page. Below this said table is the descripton, rating and comments."
Title: Re: Change a table in displayimage.php black
Post by: Joachim Müller on January 28, 2006, 12:00:20 pm
try to find out on your own by looking at the html output or by using the tools suggested in http://forum.coppermine-gallery.net/index.php?topic=11903.msg87435#msg87435 and various other threads. No better reply, as you chose not to post a link to your site  ::)
Title: Re: Change a table in displayimage.php black
Post by: kehbop on January 28, 2006, 12:57:43 pm
How do I view the HTML output? I tried doing the simple view>source but it doesn't seem to work.

PS: My site is like any other gallery so I didn't think it was necessary to give it but here it is anyways:

http://www.kehbop.com/gallery
Title: Re: Change a table in displayimage.php black
Post by: Joachim Müller on January 28, 2006, 06:29:55 pm
css class "tableb"