Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Two style questions  (Read 2305 times)

0 Members and 1 Guest are viewing this topic.

Mysmasken

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Two style questions
« on: February 15, 2004, 11:08:49 am »

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

It looks life this now:
Code: [Select]

.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!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Two style questions
« Reply #1 on: February 15, 2004, 11:40:32 am »

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

 
Code: [Select]
background-image: url(images/your_image_name.gif);

To change the colour of the menu, change this;

Code: [Select]
.topmenu a {
        color : #0033CC;
        text-decoration : none;
}

.topmenu a:hover  {
        color : #0033CC;
        text-decoration : underline;
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Two style questions
« Reply #2 on: February 15, 2004, 12:11:14 pm »

Thanks a lot!
Problems are solved! :D
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 14 queries.