WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Generic Template: Center horizontal menu?
(1/1)
artlader:
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]
diodak:
I supose its made on list, so you probably has to make #menu ul {margin:auto}
artlader:
Thank you, deschek. I appreciate your response.
I do not find "#menu," but "#navigation" is in there:
--- Code: ---#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;
}
--- End code ---
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
Yumi:
Have you solved this question? If yes please publish the solution.
Thanks, Michael
Navigation
[0] Message Index
Go to full version