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
-
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
-
In Config, use a percentage value for this: Width of the main table (pixels or %)
-
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.
<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>
-
What do you think would be the solution to have it resize according to viewers size of screen? I appreciate the help gang.
-
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:
<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.
-
Well This is interesting, how is my board stuck in the CLASSIC THEME?
-
if you clicked this link
http://www.teambajamarine.com/Coppermine/index.php?theme=classic
it saved that theme in your cookie.
just go to http://www.teambajamarine.com/Coppermine/index.php?theme=YOUR_REAL_THEME
and it will set it back.
-
theme=xxx wil also give you the default, if you don't recall what your theme is called.
-
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%?
-
If you don't know what you are changing, you shouldn't change things blindly.