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: Colors and backgrounds  (Read 3063 times)

0 Members and 1 Guest are viewing this topic.

Bianca

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Colors and backgrounds
« on: March 04, 2004, 09:57:20 pm »

hi I just uploaded pics to my gallery and I've seen other galleries that are sutomized with banners and logos, etc. I would like to change the background and add personal touched to my photo gallery. How do I go about doing this?  I want to personalize my board kind of like this one
http://www.toni-online.com/photogallery/  

I want a darker background and to add my own logo.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Colors and backgrounds
« Reply #1 on: March 05, 2004, 07:22:14 am »

add the logo in /themes/yourtheme/template.html
change the colors in /themes/yourtheme/style.css

If you're not sure what css class is responsible for rendering which content, take a look at the styleguide: http://forum.coppermine-gallery.net/viewtopic.php?p=16150#16150

GauGau
Logged

nordew

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • Architektur- und Ingenieurbüro Dewender
Problem with background.gif
« Reply #2 on: March 20, 2004, 04:51:54 pm »

I've uploaded a file backgrd.gif into subdir mytheme/images.

Then I've added in style.css: "background-image:url('images/backgrd.gif'); "

Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background-color: #f5f5f5;
        background-image:url('images/backgrd.gif');
           color : Black;
        margin: 0px;
}


But there will not be shown any backgrd.gif. What's wrong?

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Colors and backgrounds
« Reply #3 on: March 20, 2004, 04:58:51 pm »

You need to give the link 'themes/your_theme/images/backgrd.gif', not just 'images/backgrd.gif'.
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

nordew

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • Architektur- und Ingenieurbüro Dewender
Colors and backgrounds
« Reply #4 on: March 20, 2004, 06:09:40 pm »

Thx, casper, for your help.

But that was not the solution. The path in style.css is correct. But I had forgotten to change the path in template.html to the new theme.
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.