Unable to center gallery navigation bar Unable to center gallery navigation bar
 

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

Unable to center gallery navigation bar

Started by JJ Photo, March 07, 2006, 10:36:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JJ Photo

Hi!

Thanks for Coppermine!! It's a life saver for me.  I just installed 1.4.4 and have customized the igames theme.  I'm unable to center my gallery name & gallery description as well as the navigation bar but I want to very much.  The navigation bar won't budge no matter what I change but the gallery name & description centered a little but not all the way.  Please help me center these in my theme.

Here is the url to my gallery: http://www.jonathanjessup.com/gallery

Thank you!
Jonathan

JJ Photo

I've been working to try to center the gallery links bar and have been unsuccessful.  In clarification I'm talking about the navigation bar that has "Album list @ Last uploads    Most viewed  My Favorites  Search".  Also my gallery name& description won't center.  I looked at a theme that does have them centered and can't find a difference in style.css, nor in theme.php or template.html.

I've searched the forums here and only found one reference to centering this toolbar.  It said that it was done in template.html.  I centered sys_menu in there like this, which did *not* work:

<div id="MENUS" align="center">
 
<div id="SUB_MENU">
    {SUB_MENU}
  </div>

 
<div id="SYS_MENU" align="center">
    {SYS_MENU}
  </div>

</div>

Joachim Müller

That's not surprising - the element <div id="MENUS" align="center"> doesn't have a specified width, so it's just as wide as necessary, which is exactly the width the child blocks have. Set a fixed width for this container (100%) div and you should be good.