coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: lucyw1986 on March 11, 2008, 09:36:38 PM

Title: Changing the Table Header Backgrounds to Images
Post by: lucyw1986 on March 11, 2008, 09:36:38 PM
Here's my gallery:

http://www.sophia-b.org/gallery (http://www.sophia-b.org/gallery)

As you can see I've managed to changed the some of the table headers so that they have an image as a background, but I can't seem to do it for the album titles, as shown here:

http://www.sophia-b.org/gallery/index.php?cat=48

I've tried changing the coding to this, but it doesn't seem to work:

.tableh1 {
        background-color: #D5D5D5;
        background-image: url(images/header_bg2.jpg);
        color : #51657F;
        padding-top: 3px;
        padding-right: 3px;
        padding-bottom: 3px;
        padding-left: 3px;
        border-bottom:#75808F solid 1px;

}

.tableh1_compact {
background-color: #D5D5D5;
        background-image: url(images/header_bg2.jpg);
        color : #51657F;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
        border-bottom:#75808F solid 1px;
}

.tableh2 {
        background-color: #D3D3D3;
        background-image: url(images/header_bg3.jpg)
        color : #858585;
        padding-top: 3px;
        padding-right: 3px;
        padding-bottom: 3px;
        padding-left: 3px;
}

.tableh2_compact {
        background-color: #D3D3D3;
        background-image: url(images/header_bg3.jpg)
        color : #858585;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
}


Any help would be much appreciated
Title: Re: Changing the Table Header Backgrounds to Images
Post by: VEGA on June 27, 2008, 03:14:55 PM
background-image: url(images/header_bg2.jpg);




try it

background-image: url(themes/mytheme/images/header_bg2.jpg);
Title: Re: Changing the Table Header Backgrounds to Images
Post by: steveeh131047 on June 27, 2008, 04:54:09 PM
Semicolon needed at the end of the background-image CSS lines.

Your images work fine for me when I edit your CSS using Firebug.

Steve