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.8 is now available!


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 top-menu ?
  • Print
Pages: [1]   Go Down

Author Topic: How to center top-menu ?  (Read 5673 times)

Offline webby

  • Posts: 90
How to center top-menu ?
« on: September 04, 2011, 08:20:17 AM »
Hi

I can not find where to center the top-menu in my template css? Do anyone have an idea where and how to center it. (se attach-example?) My template is "Andreas09".

Thank you :)

[gelöscht durch Administrator]
Logged

Offline rcma

  • Posts: 17
Re: How to center top-menu ?
« Reply #1 on: October 24, 2011, 09:52:51 AM »
Try the following in your css

/*** Horizontal menu ***/

#mainmenu {
float:left;
margin-bottom:25px;
}

REPLACE WITH>>>>>

/*** Horizontal menu ***/

#mainmenu {
margin-left: auto;
margin-right: auto;
margin-bottom:25px;
}
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: How to center top-menu ?
« Reply #2 on: October 24, 2011, 04:28:20 PM »
Would be nice to give us a link. So we can test online and give you the solution

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

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

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