Colors and backgrounds Colors and backgrounds
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Colors and backgrounds

Started by Bianca, March 04, 2004, 09:57:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bianca

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.

Joachim Müller

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

nordew

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

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

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

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

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.