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: How to edit a theme  (Read 3871 times)

0 Members and 1 Guest are viewing this topic.

Sert Turk

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
How to edit a theme
« on: July 17, 2004, 09:44:10 pm »

Hello,
I am trying to edit the color of igames theme.I know all the configuration data is in style.css file but is there an easy way to know what value is for what?
I basically want to change the colors of it so it matches my website.Like black background to dark green and gray colors to yellow and text to brown.
Is there an easy way to do this?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to edit a theme
« Reply #1 on: July 18, 2004, 07:56:39 am »

To see what css class handles what part of coppermine. check http://coppermine.sourceforge.net/demo/index.php?theme=styleguide

GauGau
Logged

Sert Turk

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: How to edit a theme
« Reply #2 on: July 18, 2004, 12:45:38 pm »

Ahhh,nice! ;D
Thanks you sir!
And also ,do you know where to edit the ecards background color?
I am sending ecards but when they get it ,it has white background.Is that cutomizible?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to edit a theme
« Reply #3 on: July 18, 2004, 01:27:44 pm »

In your theme.php, search for;
Code: [Select]
// HTML template for e-cards
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

Sert Turk

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: How to edit a theme
« Reply #4 on: July 18, 2004, 01:57:30 pm »

Thanks!
Logged

cerberus

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • Pocket PC Russia
Re: How to edit a theme
« Reply #5 on: July 18, 2004, 06:25:18 pm »

GauGau, that's a great guide! :D
I've never seen it before.
Logged
With Best Regards, Cerberus
Edamus, bibamus, gaudeamus.
http://www.pocketpcrussia.com - My Main Site

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: How to edit a theme
« Reply #6 on: July 19, 2004, 06:25:34 am »

If you use Mozilla (1.6 or above) you can install the web developers tool bar which can show Classes and ID for any page like the screen cap below
Logged
SANIsoft PHP applications for E Biz

Sert Turk

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: How to edit a theme
« Reply #7 on: July 19, 2004, 12:30:19 pm »

How do you change the color of text on top where it says Online Photo Album?
And the orange text below that?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to edit a theme
« Reply #8 on: July 19, 2004, 12:34:18 pm »

edit the attributes of h3 in style.css. To find out about such things, just look at the html output (source code) of your page in question - find the text and check what css class controls it or what parent element it appears in.

GauGau
Logged

cerberus

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • Pocket PC Russia
Re: How to edit a theme
« Reply #9 on: July 19, 2004, 04:24:46 pm »

If you use Mozilla (1.6 or above) you can install the web developers tool bar which can show Classes and ID for any page like the screen cap below
You can also do this with Opera. Select user mode and then show structural elements :)
Logged
With Best Regards, Cerberus
Edamus, bibamus, gaudeamus.
http://www.pocketpcrussia.com - My Main Site
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.