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

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

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.