Which css entriesd to change to modify width ? Which css entriesd to change to modify width ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Which css entriesd to change to modify width ?

Started by Tahooma, August 14, 2010, 10:23:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tahooma

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

papukaija


phill104

In this case a link is essential so we can see your theme and advise accordingly.
It is a mistake to think you can solve any major problems just with potatoes.

DenisG

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/

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/. The cmpg section is the correct width but I can't seem to bring the rest in :-[. Can anyone help?

Denis.

Jeff Bailey

#4
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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

phill104

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. ;)
It is a mistake to think you can solve any major problems just with potatoes.

DenisG

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.


DenisG

Quote from: 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.

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.

Jeff Bailey

If you start a new thread like Phill suggested with your 1.4.x theme compressed and attached I can start looking at it.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford