WordPress.org

Ready to get started?Download WordPress

Forums

Fashionistas
Centre #main-navigation (1 post)

  1. desware
    Member
    Posted 4 months ago #

    Hi guys,

    I have looked through the support and have found this line of CSS to centre the #main-navigation menu

    .sf-menu ul {
    display: table;
    margin: 0 auto;
    }

    This works for the desktop site however when accessed via mobile/IOS it leaves the menu open, i have left this CSS in for troubleshooting. Is there any way to have this centred on desktop and keep the menu closed (until clicked on) on mobile site?

    Website: atastyplate.com
    WP version: 3.8.1

    Appreciate your help.

    Des

Reply

You must log in to post.

About this Theme

About this Topic