Two style questions Two style questions
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Two style questions

Started by Mysmasken, February 15, 2004, 11:08:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mysmasken

Hi! If I want a picture as background instead of a color, how do I change the style.css?

It looks life this now:

.tableh1 {
        background : #0E72A4 ;
        color : #FFFFFF;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}

.tableh1_compact {
        background : #0E72A4 ;
        color : #FFFFFF;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;


And I want it to be pic3.gif instead of #0E72A4




Also I can't find where to change the meny color. The one where it says "Album", "Log in", FAQ, Profile etc.

It remains blue whatever I do =/

Thanks for a super galleri!

Casper

To use an image as the background, put the image in the themes/yourtheme/images folder, and change the css to this;

 background-image: url(images/your_image_name.gif);

To change the colour of the menu, change this;

.topmenu a {
        color : #0033CC;
        text-decoration : none;
}

.topmenu a:hover  {
        color : #0033CC;
        text-decoration : underline;
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Mysmasken

Thanks a lot!
Problems are solved! :D