coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: appleton on May 20, 2008, 01:27:46 AM

Title: [Solved]: Really quick and easy question / hack
Post by: appleton on May 20, 2008, 01:27:46 AM
Okey, after lots of poking around and reading articles and forum posts with a general confused look - i finally gave up and decided to ask for instruction :)

Im stuck as to how to control

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">

I need to make this 700px, from reading numerous articles, and forum posts - I understand i should be able to control this with the theme.php but with being tired and alot of information, i need a pointer :) please.

Thanks
rob.
Title: Re: Really quick and easy question / hack
Post by: Fabricio Ferrero on May 20, 2008, 04:26:49 AM
Hi, just change
Quotewidth="100%"
to width="700 px".

I also modify maintable (in some themes) just editing style.css without modifying theme.php file

Try both and reply if you achieve it...

Bye...
Title: Re: Really quick and easy question / hack
Post by: Joachim Müller on May 20, 2008, 08:13:41 AM
Why don't you use the config option that controls the width of the overall table?
Title: Re: Really quick and easy question / hack
Post by: appleton on May 20, 2008, 12:55:28 PM
Hiya, thanks for replies - well basically I have hacked together a coppermine template from a wordpress template,
Currently pulling in 2 css files which are doing funning things.

Yup if i was running stand alone, i could do both / either of the above options - but as im hacking it, just to provide an "example" its not a clean integration.

Please see the following:

www.msireviews.com/gallery/ (http://www.msireviews.com/gallery/)

All i need to get it todo is for the standard table, to fit within the width of the wordpress template.

Thanks
Rob.
Title: Re: Really quick and easy question / hack
Post by: Joachim Müller on May 20, 2008, 01:16:34 PM
Pretty straightforward theme that already exists for coppermine (k2 or however it is being called today). Should work well with coppermine's config set to 100%.
Title: Re: Really quick and easy question / hack
Post by: appleton on May 20, 2008, 03:36:26 PM
Cool, ta - ill grab it and see if i can make it look the same :)

This isnt the finished design - i just wanted to prove tight-integration, before continuing with skinning all 3 products (Wordpress/PHPBB3/Coppermine).

Thanks
Rob.
Title: Re: Really quick and easy question / hack
Post by: appleton on May 20, 2008, 08:16:11 PM
nice one, cheers for the help - integration looks great www.msireviews.com