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

Title: Hardwired Theme Configuration
Post 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.
Title: Re: Hardwired Theme Configuration
Post by: Sami on September 10, 2006, 04:58:03 pm
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 :)
Title: Re: Hardwired Theme Configuration
Post by: Sideswipe on September 10, 2006, 07:24:52 pm
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)
Title: Re: Hardwired Theme Configuration
Post by: Sami on September 10, 2006, 07:39:35 pm
Then you need to manualy edit themes/hardwired/template.html around line 14 and replace
Code: [Select]
<table width="100%"  border="0" cellspacing="0" cellpadding="0">

with

Code: [Select]
<table width="800"  border="0" cellspacing="0" cellpadding="0">
Title: Re: Hardwired Theme Configuration
Post by: Sideswipe on September 10, 2006, 07:58:52 pm
That's much better.

Thanks for your help.   ;D
Title: Re: Hardwired Theme Configuration
Post by: ChiDao on September 13, 2006, 07:38:47 pm
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?

Title: Re: Hardwired Theme Configuration
Post by: Sami on September 14, 2006, 01:02:25 am
put the <center> tag before <table> tag and </center> tag after </table>