Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #246498

    Hello Kriesi,

    I am almost finished with the following site : http://www.etienneboyer.com

    and I just need one last detail :
    I want the main menu to be centered so I added a quick css (on your advice) :
    .main_menu { right: 27%; }

    This is great when the page is full screen on my imac but if I decrease the window width size, the menu is no more well centered.
    Is there any other way that the menu stick to the center of the page whatever the size is ?
    Thanks a lot in advance.
    Mallokw

    #246807

    Hey Mallokw!

    Try with this code instead:

    .main_menu {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    width: 415px;
    }

    Best regards,
    Josue

    #246938

    Hello Josue,

    Thanks a lot. I just changed the width from 415px to 419px so that the last menu item is on the same line and that’s working great !
    Best regards
    Mallokw

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘menu alignment (position center)’ is closed to new replies.