This topic contains 3 replies, has 2 voices, and was last updated by  Sakin 3 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #63885

    Neil
    Member

    Hi. I am developing a site using Mustang as a base and was wondering if some sort of menu justification is possible? This site only has 5 primary menu items in a custom menu leaving about 1/3 blank space in the menu bar. Can the menu items be justified to fill across the enitire menu bar?

    Thanks

    #64096

    Sakin
    Keymaster

    @Neil: You can increase padding-left and padding-right and then it will spread your menu. For this, just add the following css in “Appearance => Theme Options => Custom CSS” box:

    #access a {
        padding-left: 10px;
        padding-right: 10px;
    }

    Then you can center the menu by adding in the following css in “Appearance => Theme Options => Custom CSS” box:

    #access ul {
        text-align: center;
    }
    #access li {
        display: inline-block;
        float: none;
    }
    #access ul ul li {
        display: block;
        float: none;
        text-align: left;
    }
    #65697

    Neil
    Member

    Thanks Sakin – just tried it out now and it worked a treat.

    Cheers,

    Neil

    #65700

    Sakin
    Keymaster

    @Neil: Thanks for your appreciation 🙂

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

The topic ‘Menu – is menu justifcation possible?’ is closed to new replies.