forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: Tahooma on August 14, 2010, 10:23:29 am

Title: Which css entriesd to change to modify width ?
Post by: Tahooma on August 14, 2010, 10:23:29 am
Hi
I would like to modify the width of coppermine ?
I want the whole coppermine to be e.g. 1000 px.

Tried myself some variables, but did not change anything :(

Thx and br
Christian
Title: Re: Which css entriesd to change to modify width ?
Post by: papukaija on August 26, 2010, 09:56:02 pm
Please post a link to your gallery (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616) as requested by board rules.
Title: Re: Which css entriesd to change to modify width ?
Post by: phill104 on August 26, 2010, 10:11:40 pm
In this case a link is essential so we can see your theme and advise accordingly.
Title: Re: Which css entriesd to change to modify width ?
Post by: DenisG on September 08, 2010, 11:17:50 pm
Seems like the original poster solved it themselves or has lost interest. Anyone object if I bring it back to life with exactly the same question?

I have been with Coppermine since v1.2.xx I think and my existing gallery is fine and stable in v1.4.xx although perhaps not the last 'mandatory' version. http://www.denisg.co.uk/gallery/ (http://www.denisg.co.uk/gallery/)

In order to try v1.5.xx I have put it into a new folder on my site to see if I like it and if I can work with it. Like?......very much. Work with?.......new language of html, php and particularly the css are leaving me way behind. First impression is I am way too old for this now but I refuse to give up. In 1.4, I found it reasonably acceptable to get it nearly how I wanted it to be. I am not after a match for my existing site as now I have found Curve I might work backwards this time and attempt to make my website like the Coppermine gallery if I can make that look the way I want it to. I am having a number of problems with layout but the most important starting point for me is to be able to get the whole Curve thing at 1000px wide. I changed many things and even tried the old simple single line of code in template.html as I did in 1.4, all to no avail and some startling unwanted results. My test gallery is at http://www.denisg.co.uk/scc/gallery/ (http://www.denisg.co.uk/scc/gallery/). The cmpg section is the correct width but I can't seem to bring the rest in :-[. Can anyone help?

Denis.
Title: Re: Which css entriesd to change to modify width ?
Post by: Jeff Bailey on September 08, 2010, 11:39:15 pm
Upload this theme to your website for a 1000px width.
All I did was add another div starting right after the opening body and closed it right before the closing body tags, with some inline styling to make it 1000px and centered.


edit-
<!--Coppermine Photo Gallery 1.4.18 (stable)-->
your other gallery is indeed very old. Please update it as you are vulnerable to attacks.
Title: Re: Which css entriesd to change to modify width ?
Post by: phill104 on September 08, 2010, 11:58:47 pm
Dennis,

You could quite easilly create a theme to fit your site well leaving the current menu on the left with the gallery on the right. I might get some time tomorrow to have a quick crack but please create a new thread. Hijacking other threads is not considered good form old chap. ;)
Title: Re: Which css entriesd to change to modify width ?
Post by: DenisG on September 09, 2010, 01:19:29 am
Thanks Phill, apologies for hijacking, but I thought as it was a continuation of the original question it wouldn't apply. I'll try a new thread tomorrow.

Denis.

Title: Re: Which css entriesd to change to modify width ?
Post by: DenisG on September 09, 2010, 02:42:16 am
Upload this theme to your website for a 1000px width.
All I did was add another div starting right after the opening body and closed it right before the closing body tags, with some inline styling to make it 1000px and centered.

Thanks for that Jeff, most appreciated. Worked a treat with just the lines you mention. Same line I used in 1.4 only there it was table width!.......duhh......never occurred to me to use div.

Quote
<!--Coppermine Photo Gallery 1.4.18 (stable)-->
your other gallery is indeed very old. Please update it as you are vulnerable to attacks.

Not a hope!, at least until I get some time off work. Help on 1.4 is to stop shortly anyway, not that I am entitled to any using that OLD (like me) version. If I can get 1.5 close enough in appearance and layout then I will take that route. However, with a couple of thousand photos there you can forgive my hesitance in doing so. No upgrade has ever worked smoothly for me, once I lost >800 photos and the gallery had to be rebuilt from scratch. Now there is 2k at risk. Once I am happy with 1.5 I will upgade, promise! :), I just need to know what to change when I do.

Thanks for the help, for those using Curve at least, solved.

Denis.
Title: Re: Which css entriesd to change to modify width ?
Post by: Jeff Bailey on September 09, 2010, 02:58:15 am
If you start a new thread like Phill suggested with your 1.4.x theme compressed and attached I can start looking at it.