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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Have you either?

    Thread Starter ador

    (@ador)

    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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Thread Starter ador

    (@ador)

    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

    http://charmingweb.com/blog/site2/

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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;
    }

    Thread Starter ador

    (@ador)

    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.