forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: teambajamarine on February 08, 2005, 06:33:55 am

Title: Collapsible Table - Gallery Not Resizing...
Post by: teambajamarine on February 08, 2005, 06:33:55 am
I have customized my GALLERY to match my website, however I cant seem to figure a way to get the main table to resize or collapse depending on screen size. Its stuck at one size, any tips? I have played for hours with no results.

Here is the link to the site...
http://www.teambajamarine.com/Coppermine/index.php
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: Tranz on February 08, 2005, 07:06:29 am
In Config, use a percentage value for this:  Width of the main table (pixels or %)
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: donnoman on February 08, 2005, 07:10:06 am
You also have some specific pixel widths specified in your html.

This isn't coming from coppermine, so it's either in your template.html or your custom includes.
Code: [Select]
<table width="1252" border="0" cellpadding="0" cellspacing="0" height="1683">
  <tr>
    <td height="1663" valign="top" width="124"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: teambajamarine on February 08, 2005, 07:53:45 am
What do you think would be the solution to have it resize according to viewers size of screen? I appreciate the help gang.
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: Tranz on February 08, 2005, 08:07:45 am
It does seem like an issue with the theme you are using. If you look at the default theme, the table resizes according to the window size:
http://www.teambajamarine.com/Coppermine/index.php?theme=classic

This is probably the culprit:
Code: [Select]
<table width="1252"
If not, you need to do a search for "width" in the code and see if the values are approximately the size of the table.
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: teambajamarine on February 08, 2005, 08:14:24 am
Well This is interesting, how is my board stuck in the CLASSIC THEME?
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: donnoman on February 08, 2005, 08:21:25 am
if you clicked this link
Quote
http://www.teambajamarine.com/Coppermine/index.php?theme=classic
it saved that theme  in your cookie.

just go to
Code: [Select]
http://www.teambajamarine.com/Coppermine/index.php?theme=YOUR_REAL_THEME
and it will set it back.
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: Tranz on February 08, 2005, 08:23:31 am
theme=xxx wil also give you the default, if you don't recall what your theme is called.
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: teambajamarine on February 08, 2005, 08:24:39 am
Very weird. But kool you can do that. Here is an idea and I ask to see if you think this might work, I just looked at the HTML for the classic theme, and what if I changed all my WIDTH numbers to 100%?
Title: Re: Collapsible Table - Gallery Not Resizing...
Post by: Tranz on February 08, 2005, 08:39:56 am
If you don't know what you are changing, you shouldn't change things blindly.