coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: JJ Photo on March 07, 2006, 10:36:36 PM

Title: Unable to center gallery navigation bar
Post by: JJ Photo on March 07, 2006, 10:36:36 PM
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 (http://www.jonathanjessup.com/gallery)

Thank you!
Jonathan
Title: Re: Unable to center gallery navigation bar
Post by: JJ Photo on March 08, 2006, 10:45:48 PM
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>
Title: Re: Unable to center gallery navigation bar
Post by: Joachim Müller on March 09, 2006, 06:06:25 AM
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.