Support » Theme: WPFolio » [Theme: WPFolio] Centering the main menu

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Andrew Nevins


    You can tweak themes’ appearance by using CSS (Cascading Style Sheets) through a Child Theme or Custom Style/CSS plugin.

    Have you either?

    Yes. I had to repair a site using this theme from a bad hack. So I upgraded everything and now I have it setup on dev server w/ child theme, all modifications are on the child.

    I have tried several tweaks but the menu persists in staying left aligned. I appreciate your help

    Moderator Andrew Nevins


    May you link the website relevant, or the HTML and CSS for one relevant page?

    here is the web site link. I am trying to get the css plugin you mentioned to work. Thank you very much for your time on this and your help

    Moderator Andrew Nevins


    You should align block elements to the centre with the CSS style margin: 0 auto, however you also need to set a width along with that style.

    When setting a width, consider whether your navigation menu will expand and try to use a width that caters for this.

    For example,
    If your current navigation bar were to be centred as it is now, the CSS would be something like

    .sf-menu {
     width: 200px;
     margin: 0 auto;

    thank you so much for your help! Finally the menu has responded. I had not thought about the width. I might have to tweak that for the main site but at least this is some major progress! Thanks again very much appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: WPFolio] Centering the main menu’ is closed to new replies.