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: need help on Template code  (Read 5109 times)

0 Members and 1 Guest are viewing this topic.

*David*

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
need help on Template code
« on: December 03, 2006, 09:51:18 pm »

Umm, I trying to fing what area in my style.cc where I can change this area to a different color:

(http://i64.photobucket.com/albums/h166/Trishxx1/mfscreencap.jpg)

I want to cahnge that color, anybody know what that area is called on the style.css? Thnks!
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: need help on Template code
« Reply #1 on: December 03, 2006, 10:07:23 pm »

Hold on, it's coming through... I can almost envision it... it's almost there...  :o Nope lost it. Oh well, I guess you'll have to give us a link to your gallery because it depends on the theme.

You could also install the Web Developer Extension for Firefox and find it yourself and also any other issues you may come across. http://forum.coppermine-gallery.net/index.php?topic=31423.0
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

*David*

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: need help on Template code
« Reply #2 on: December 03, 2006, 10:09:49 pm »

Hold on, it's coming through... I can almost envision it... it's almost there...  :o Nope lost it. Oh well, I guess you'll have to give us a link to your gallery because it depends on the theme.

Ok, here it is.

http://michellefever.my-diva.org/Gallery/index.php
Logged

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: need help on Template code
« Reply #3 on: December 03, 2006, 10:31:47 pm »

What I usually do to change colours is picking up the colour hex code (I use KColorChooser on my Ubuntulinux, but there is surely something similar on win), then editing my style.css file searching through the hex code.
It's silly, I know... but it works!

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: need help on Template code
« Reply #4 on: December 03, 2006, 11:54:40 pm »

It's not in the style.css but defined inline in the template.html. Find this line right after <body> and change the color to your needs
Code: [Select]
<table align="center" bgcolor="#b3a797" border="0" cellpadding="0" cellspacing="0" width="600">
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: need help on Template code
« Reply #5 on: December 04, 2006, 03:51:48 am »

What I usually do to change colours is picking up the colour hex code (I use KColorChooser on my Ubuntulinux, but there is surely something similar on win), then editing my style.css file searching through the hex code.
It's silly, I know... but it works!
There's an add-on for Firefox that can do a similar thing: https://addons.mozilla.org/firefox/271/
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.