Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Unable to center gallery navigation bar  (Read 3683 times)

0 Members and 1 Guest are viewing this topic.

JJ Photo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Unable to center gallery navigation bar
« 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

Thank you!
Jonathan
Logged

JJ Photo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Unable to center gallery navigation bar
« Reply #1 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>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Unable to center gallery navigation bar
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 15 queries.