Having trouble editing board theme Having trouble editing board theme
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Having trouble editing board theme

Started by CoppermineGal, January 27, 2006, 03:13:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CoppermineGal

I'm editing the waterdrop theme. But I can't seem to get rid of the big white border that is around the entire table of the gallery. Here is where you can see my gallery and see what I am talking about: http://www.telenovelasonline.org/fotos

I had edited the gallery one time, and was able to remove that border but I don't remembedr what it was that I did.  ???

Also, how do I resize the table inside the border?

Can someone help me?

Joachim Müller

Edit themes/water_drop_template.html, find<table width="100%" border="0" cellpadding="20" cellspacing="20">and replace it with<table width="100%" border="0" cellpadding="0" cellspacing="0">I suggest you upgrade from cpg1.4.2 to cpg1.4.3 as well. Make sure to backup your custom theme before upgrading. We recommend renaming custom theme to have genuine names instead of keeping the name of the theme that you based your modifications on.

Joachim

P.S. Coppermine is not a bulletin board app, but a photo gallery app, so your subject line doesn't apply.

CoppermineGal

Hi, I edited the file that you told me to and nothing changed.  :'(

Blueiris

I think the code you may be looking for is in template.html, at line 17 in the unmodified waterdrop theme:

Quote<td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;">

All of the table widths in that template are set to 100%. Experiment with different widths until you get what you like.
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.