News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Changing the Table Header Backgrounds to Images

Started by lucyw1986, March 11, 2008, 09:36:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lucyw1986

Here's my 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

VEGA

background-image: url(images/header_bg2.jpg);




try it

background-image: url(themes/mytheme/images/header_bg2.jpg);

steveeh131047

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