WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: webby on January 21, 2011, 05:20:18 PM

Title: How to "center" the horizontal menu in "Andreas09"?
Post by: webby on January 21, 2011, 05:20:18 PM
Hi

How can I "center" the horizontal menu in the template Andreas09? (Se attach screenshot).
I have tried to insert several codes in the css-file and the index-file of the Andreas09-template, but nothing happens to the horizontal menu?

Thanks :)

[gelöscht durch Administrator]
Title: Re: How to "center" the horizontal menu in "Andreas09"?
Post by: kweitzel on January 22, 2011, 01:02:06 AM
Did you try applying the "margin:auto" to the DIV "mainmenu"?

cheers

Klaus
Title: Re: How to "center" the horizontal menu in "Andreas09"?
Post by: webby on January 22, 2011, 09:56:10 AM
Hi Klaus

Thank you for the quick reply.
Hmmm - where exactly to put the margin:auto in the css-file ?

Thanks again

Webby.
www.mtmlinien.dk
Title: Re: How to "center" the horizontal menu in "Andreas09"?
Post by: kweitzel on January 22, 2011, 10:03:16 AM
You would put it where the DIV "mainmenu" is defined in you CSS file ;-) Remember though that CSS is worked from Top to bottom, so you might need to declare a margin:0 further down!

cheers

Klaus
Title: Re: How to "center" the horizontal menu in "Andreas09"?
Post by: webby on January 22, 2011, 11:36:15 AM
Hi again

It did not work - I think I am doing it wrong!?
May I send you the css-file for a quick look?

Webby :)