Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to change the color of the border between categories?  (Read 4080 times)

0 Members and 1 Guest are viewing this topic.

mtdoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
How to change the color of the border between categories?
« 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.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: How to change the color of the border between categories?
« Reply #1 on: October 28, 2010, 10:30:32 pm »

Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

mtdoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How to change the color of the border between categories?
« Reply #2 on: October 29, 2010, 12:37:51 am »

Sorry about that I forgot to include the link
http://giggity.zzl.org/gallery
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: How to change the color of the border between categories?
« Reply #3 on: October 29, 2010, 12:54:47 am »

Change the background color of
Code: [Select]
.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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

mtdoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How to change the color of the border between categories?
« Reply #4 on: October 29, 2010, 01:02:15 am »

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
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: How to change the color of the border between categories?
« Reply #5 on: October 29, 2010, 01:07:11 am »

Try it and you'll see that's what I'm talking about.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

mtdoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How to change the color of the border between categories?
« Reply #6 on: October 29, 2010, 01:12:30 am »

Oh my bad.   I should have tried that before I posted again.     Sorry about that.  Thanks for the help.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: How to change the color of the border between categories?
« Reply #7 on: October 29, 2010, 01:17:46 am »

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
Code: [Select]
/******************************************************************************
** 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
Code: [Select]
?>
then add
Code: [Select]
.tableh1 {
border: 1px solid #000000;
}
to your custom themes theme/style.css

untested
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 20 queries.