WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Generic Template: Center horizontal menu?
  • Print
Pages: [1]   Go Down

Author Topic: Generic Template: Center horizontal menu?  (Read 4814 times)

artlader

  • Guest
Generic Template: Center horizontal menu?
« on: March 26, 2009, 11:50:05 AM »
Hi,

I am having a bit of trouble trying to customize the generic template. I would like to center the horizontal drop-down menu. It is currently aligned to the left.

I assume that I am missing something obvious here.

Any help would be appreciated.

Thanks!

Art



[gelöscht durch Administrator]
Logged

Offline diodak

  • Posts: 85
Re: Generic Template: Center horizontal menu?
« Reply #1 on: March 26, 2009, 02:36:40 PM »
I supose its made on list, so you probably has to make #menu ul {margin:auto}
Logged
Buchsbaum

artlader

  • Guest
Re: Generic Template: Center horizontal menu?
« Reply #2 on: March 27, 2009, 11:49:45 PM »
Thank you, deschek. I appreciate your response.

I do not find "#menu," but "#navigation" is in there:

   
Code: [Select]
#navigation ul {
        height            : 18px; /* you will also need to change #navigation a padding and #navigation li ul margin-top*/
        width            : 100%;
        margin            : 0;
        padding            : 0;
        background:orange; /* background color of the drop downs */
        color: blue;
        list-style-type    : none;
    }

When I change the margin from "0" to "auto," though, nothing seems to happen.

Maybe I am doing it wrong.

Do you have any other suggestions?

Regards,
Art
Logged

Yumi

  • Guest
Re: Generic Template: Center horizontal menu?
« Reply #3 on: December 01, 2009, 10:48:20 AM »
Have you solved this question? If yes please publish the solution.

Thanks, Michael
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Generic Template: Center horizontal menu?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2