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 »
  • How to "center" the horizontal menu in "Andreas09"?
  • Print
Pages: [1]   Go Down

Author Topic: How to "center" the horizontal menu in "Andreas09"?  (Read 4524 times)

Offline webby

  • Posts: 90
How to "center" the horizontal menu in "Andreas09"?
« 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]
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #1 on: January 22, 2011, 01:02:06 AM »
Did you try applying the "margin:auto" to the DIV "mainmenu"?

cheers

Klaus
Logged

Offline webby

  • Posts: 90
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #2 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
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #3 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
Logged

Offline webby

  • Posts: 90
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #4 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 :)
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • How to "center" the horizontal menu in "Andreas09"?
 

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