forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: mtdoom on October 28, 2010, 10:19:12 pm
-
I'm currently working on a coppermine gallery for one of my friends and I can't seem to figure out how to change the border between the categories. I've attached a screen shot of what I'm talking about. I've looked all through the style sheet but can't figure it out. any help would be great. Thanks.
-
Please post a link so that we may better help you.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
-
Sorry about that I forgot to include the link
http://giggity.zzl.org/gallery (http://giggity.zzl.org/gallery)
-
Change the background color of
.maintable {
background-color: #4A0000;
}
not sure if thats the final solution for you but it is the only way to change to color in that space.
You could probably reduce that space and add a border to the <td>.
If the answer works for you, no need to try and do that.
-
I'm not talking about the red color of the background. I'm talking about the divider between the categories
Test 1
---------------------- <- This line between the categories.
Test 2
-
Try it and you'll see that's what I'm talking about.
-
Oh my bad. I should have tried that before I posted again. Sorry about that. Thanks for the help.
-
no problem.
please resolve your thread. http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
the other way I was talking about incase you were wondering is
add
/******************************************************************************
** Section <<<starttable>>> - START
******************************************************************************/
// Function to start a 'standard' table
function starttable($width = '-1', $title = '', $title_colspan = '1', $zebra_class = '', $return = false)
{
global $CONFIG;
if ($width == '-1') $width = $CONFIG['picture_table_width'];
if ($width == '100%') $width = $CONFIG['main_table_width'];
$text = <<<EOT
<!-- Start standard table -->
<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintable $zebra_class">
EOT;
if ($title) {
$text .= <<<EOT
<tr>
<td class="tableh1" colspan="$title_colspan">$title</td>
</tr>
EOT;
}
if (!$return) {
echo $text;
} else {
return $text;
}
}
/******************************************************************************
** Section <<<starttable>>> - END
******************************************************************************/
to your custom themes theme/theme.php
before the closing
?>
then add
.tableh1 {
border: 1px solid #000000;
}
to your custom themes theme/style.css
untested