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: [Classic] can't get the tables smaller  (Read 4693 times)

0 Members and 1 Guest are viewing this topic.

clubvibe

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
[Classic] can't get the tables smaller
« 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.
« Last Edit: September 10, 2005, 05:24:46 pm by kegobeer »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [Classic] can't get the tables smaller
« Reply #1 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: [Classic] can't get the tables smaller
« Reply #2 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
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

clubvibe

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: [Classic] can't get the tables smaller
« Reply #3 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?
« Last Edit: September 09, 2005, 08:47:23 pm by clubvibe »
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: [Classic] can't get the tables smaller
« Reply #4 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
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

clubvibe

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: [Classic] can't get the tables smaller
« Reply #5 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
Logged

clubvibe

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: [Classic] can't get the tables smaller
« Reply #6 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
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: [Classic] can't get the tables smaller
« Reply #7 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
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

clubvibe

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: [Classic] can't get the tables smaller
« Reply #8 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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.