forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: traypup on August 27, 2004, 10:37:34 pm

Title: changing cell spacing on waterdrop theme
Post by: traypup 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
Title: Re: changing cell spacing on waterdrop theme
Post by: Joachim Müller 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
Title: Re: changing cell spacing on waterdrop theme
Post by: traypup 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
Title: Re: changing cell spacing on waterdrop theme
Post by: Joachim Müller 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