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: changing cell spacing on waterdrop theme  (Read 2783 times)

0 Members and 1 Guest are viewing this topic.

traypup

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
changing cell spacing on waterdrop theme
« on: August 27, 2004, 10:37:34 pm »

hey all,

i've finally understood how to change the look of a theme by using the CSS and I'm pretty excited. However, I want to make one more change to the index and displayimage pages.

take a look at http://www.sunshinefactory.net/coppermine if you can take a moment. See that big white border? it's because the table's cellspacing is set to 20 px. I know that because I viewed the source. I changed the template.html file in the theme folder, but I'm still not seeing a change.

Did I do something wrong?

thanks so much,
Tracey
« Last Edit: August 28, 2004, 05:20:14 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: changing cell spacing on waterdrop theme
« Reply #1 on: August 27, 2004, 10:50:51 pm »

edit themes/water_drop/template.html, find
Code: [Select]
<table width="100%" height="100%" border="0" cellpadding="20" cellspacing="20">and replace with
Code: [Select]
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
Joachim
Logged

traypup

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: changing cell spacing on waterdrop theme
« Reply #2 on: August 27, 2004, 11:34:47 pm »

yep, i did that, and it didn't change.
However, it did change when I uploaded that template.html file into the main coppermine area. so I'm all happy again, but I thought it was odd that overwriting the template.html in the water_drop file didn't do the trick.

thank you! as you can see, i got it going!
tracey
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: changing cell spacing on waterdrop theme
« Reply #3 on: August 28, 2004, 05:20:03 am »

what exactly do you want changed? The only issue I can see is improper insertion of the custom tags, concerning the position of the tags {CUSTOM_HEADER} and {CUSTOM_FOOTER} in your template. Usually the output should go into the <body> tag.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.062 seconds with 20 queries.