forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: clubvibe on September 08, 2005, 05:42:38 pm

Title: [Classic] can't get the tables smaller
Post by: clubvibe on September 08, 2005, 05:42:38 pm
hi there,
i've some problems on table width's .

i want to fit in copper mine in my website. Ik looks like this now: http://www.zoetermeer9.nl/site/index.php?id=94

i can't seem to get it fit.
i tried to resize it with the admin-config
i tried to resize it within my template.html
i tried to reszie it within my theme.php

nothing works. Can someone tell me how to get a fit?

thnx in advance.
Title: Re: [Classic] can't get the tables smaller
Post by: Casper on September 09, 2005, 01:21:10 am
Try using less columns in both the 'Album list view' and 'Thumbnail view' in your config.

And that is a modified theme, not classic.
Title: Re: [Classic] can't get the tables smaller
Post by: artistsinhawaii on September 09, 2005, 02:34:42 am
Looks like you have some hardcoded widths in your theme.php file.  Try replacing numbers like width=600, 500, 520, etc with percentages.


Dennis
Title: Re: [Classic] can't get the tables smaller
Post by: clubvibe on September 09, 2005, 08:25:08 pm
thnx for the reactions!
It's a slightly stripped version of classic with some diffrent css.
I'll take a look over the theme.php again for static sizes.

I tried the album and column numbers nut that didn't do the trick :(

any other suggestions? should i post the code for my theme.php and template.html?

Edit: I changed EVERY table setting (as experiment) to 80% in my theme.php and the page still doesn't fit! Do i have to change things in the index.php?
Title: Re: [Classic] can't get the tables smaller
Post by: artistsinhawaii on September 09, 2005, 10:41:06 pm
I don't know if modifying index.php would help any.  I'd try looking at the table settings in your  template.html first.


Dennis
Title: Re: [Classic] can't get the tables smaller
Post by: clubvibe on September 10, 2005, 03:27:13 pm
i set them to 80% as well. without any result :(

Any other idea's? it's a rather strange kind of bug
Title: Re: [Classic] can't get the tables smaller
Post by: clubvibe on September 10, 2005, 05:10:16 pm
i found the error! it was in my CSS file.. STUPID me! thnx for the support.

request to close
Title: Re: [Classic] can't get the tables smaller
Post by: artistsinhawaii on September 10, 2005, 08:25:53 pm
i found the error! it was in my CSS file.. STUPID me! thnx for the support.

Ah.  That was going to be my last suggestion.  But when I looked into mine (which is already heavily modified) I didn't see what it could be right off the cuff.   So what  did  you finally change to get your CPG theme to fit snugly into your frame?

Dennis
Title: Re: [Classic] can't get the tables smaller
Post by: clubvibe on September 19, 2005, 01:24:12 pm
for some kind of reason i assigned my body tag in my css to be 740 px .... so i changed it to 100% and there it was. the solution. So a tip to you all.. don't change your px in the body ;) :P