Can't get menu elements to center Can't get menu elements to center
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Can't get menu elements to center

Started by rooty, February 26, 2008, 04:42:37 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rooty

I am using a modified foliage theme for my gallery; on certain images (such as the one linked below), the image itself will be centered on the page but the menus above and below are not. I've tried some solutions I found in the forums, but I guess they didn't apply to my situation. So how do I do it?

http://markgroot.ca/GrootPhotoblog/displayimage.php?album=lastup&cat=0&pos=0

Joachim Müller

Foliage has been designed for a particular max resolution for intermediate images. You are definitely beyond that maximum, so foliage won't work for you. Foliage is kind of "beta", so you're on your own with this.

rooty

Quote from: Joachim Müller on February 26, 2008, 05:23:31 PM
Foliage has been designed for a particular max resolution for intermediate images.

Thanks Joachim. Can you be more specific about Foliage's specifications and how resolution affects the alignment? An option I would consider is trying to meet those specs to avoid this problem.

Joachim Müller

Did you read Foliage's announcement thread?

rooty

Quote from: Joachim Müller on February 26, 2008, 05:33:11 PM
Did you read Foliage's announcement thread?

Without having a link to what you are referring to, yes, I believe I read the thread from Gizmo announcing his port to CPG.

Nibbler

For reference: http://forum.coppermine-gallery.net/index.php/topic,35953.0.html

Your main table width is set to 600 in config but your image is 768. Increase the main table width to 800 so the image doesn't break out.

rooty

Quote from: Nibbler on February 26, 2008, 05:50:21 PM
For reference: http://forum.coppermine-gallery.net/index.php/topic,35953.0.html

Your main table width is set to 600 in config but your image is 768. Increase the main table width to 800 so the image doesn't break out.

Thanks Nibbler. I would like to note that as a rule, I always try to find a solution before I ask questions, because I realize that you and your colleagues are no doubt deluged with comments daily.

Nibbler

Also, change the width in style_wp.css


#content {
width: 65em;
margin: 0 auto 0;
padding: 0 0 6em 0;
text-align: left;
line-height: 1.5em;
}


Setting that width to 800px or so should make it more central.

rooty

Quote from: Nibbler on February 26, 2008, 05:57:41 PM
Also, change the width in style_wp.css


#content {
width: 65em;
margin: 0 auto 0;
padding: 0 0 6em 0;
text-align: left;
line-height: 1.5em;
}


Setting that width to 800px or so should make it more central.

This suggestion was the jackpot....all content centred perfectly even with the pull tab. Thanks again, Nibbler!