Two style questions Two style questions
 

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

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