WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: artlader on March 26, 2009, 11:50:05 AM

Title: Generic Template: Center horizontal menu?
Post by: artlader 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]
Title: Re: Generic Template: Center horizontal menu?
Post by: diodak on March 26, 2009, 02:36:40 PM
I supose its made on list, so you probably has to make #menu ul {margin:auto}
Title: Re: Generic Template: Center horizontal menu?
Post by: artlader 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:

   #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
Title: Re: Generic Template: Center horizontal menu?
Post by: Yumi on December 01, 2009, 10:48:20 AM
Have you solved this question? If yes please publish the solution.

Thanks, Michael