forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Sideswipe on September 10, 2006, 04:46:45 pm
-
Hi,
I've just recently upgraded from Coppermine v1.3.x to 1.4.x and the hardwired theme I was using has now changed. Basically when I was using this them on version 1.3.x the theme seemed as if it was set within a table as it only displayed at about 800 pixels wide I'm guessing, but now since I updgraded to version 1.4.x the theme has been altered so that it's now the full width of the screen. Is there any way that I can change the new hardwired theme so that it only dispays at 800 pixels wide and full screen ??? there's no option with the Coppermine config panel to change this.
Thanks
Lee.
-
Yes there is ...
you should set it under:
admin mode=>config=>Album list view=>Width of the main table (pixels or %)
Set it to 800 nd you'll be fine :)
-
This doesn't work, it only reduces the internal size of the tables, the theme itself is still the full width of the screen as you can see from the screen grab below.
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.scifievents.pwp.blueyonder.co.uk%2Fimg%2Fgallery.jpg&hash=109c08a9e20466acc9bfb874d2f54293a5ee84e4)
-
Then you need to manualy edit themes/hardwired/template.html around line 14 and replace
<table width="100%" border="0" cellspacing="0" cellpadding="0">
with
<table width="800" border="0" cellspacing="0" cellpadding="0">
-
That's much better.
Thanks for your help. ;D
-
Thanks for that, helped me also.
Only one more thing I would need help with, how to center that template because after resize, by default it seems to allign to left?
-
put the <center> tag before <table> tag and </center> tag after </table>