forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: gingko on October 14, 2005, 08:14:51 pm

Title: I need to tweak this layout a little. Please help!!
Post by: gingko on October 14, 2005, 08:14:51 pm
Here's my gallery --> http://www.iria.xmgfree.com/gallery/

I want the whole interface to be more narrower, but no matter what values I adjust, I just fail to make the navigation panel as narrow as the cells below. I have tried using divs on the template, but it doesn't work either.

This is the website where I am integrating the gallery into: www.sweet-box.info
When you click on 'gallery', you can see that the gallery is too wide that it causes the iframe to look really weird.
I just want it such that when I fit the gallery into an iframe of let's say 590 px, horizontal scrollbars will not appear cos' it's too wide.

The template page: http://www.iria.xmgfree.com/gallery/themes/ipodlounge/template.html,  http://www.iria.xmgfree.com/gallery/themes/ipodlounge/template.php

The stylesheetpage: http://www.iria.xmgfree.com/gallery/themes/ipodlounge/style.css

Your help is very much appreciated!!
Title: Re: I need to tweak this layout a little. Please help!!
Post by: xplicit on October 14, 2005, 08:36:41 pm
Your width is set to 750 this would never fit... since I see a 566 width resrved space in your I frame.

In your source I see things like

Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" width="750" align="center">
  <tr>
    <td>
      <img src="themes/ipodlounge/images/white_corner_topleft.gif" width="7" height="7" alt="" border="0" />
    </td>
    <td bgcolor="#FFFFFF">
      <img src="images/spacer.gif" width="735" height="7" alt="" border="0" />
    </td>
    <td>
      <img src="themes/ipodlounge/images/white_corner_topright.gif" width="7" height="7" alt="" border="0" />
    </td>
  </tr>
</table>


If your settings in the admin config can't control it, you probably hard coded the 750 width, in that case check your theme and do a search and replace action 750 -> 5xx

if you use the spacer.gif with a width of 735 your table will be 735 width + the rest aswell so perhaps you also need to fix this if its hardcoded

Just adjust some settings in your admin config and check the source of your output to see if things changed, if they didnt you hardcoded it.

Title: Re: I need to tweak this layout a little. Please help!!
Post by: gingko on October 14, 2005, 08:46:56 pm
Ooh actually I realized I forgot to make my file rewritable. no wonder the changes didnt take place. lol Anyway, thanks a lot for enlightening me on that! ^_^
Title: Re: I need to tweak this layout a little. Please help!!
Post by: xplicit on October 14, 2005, 09:23:38 pm
I see you got it fixed now :)

Thread can be closed I guess