WordPress.org

Forums

Reddle
[resolved] center menu bar (5 posts)

  1. muzli
    Member
    Posted 1 year ago #

    hi there,

    i still want to center the menu bar in a nice way.
    (i'm using child css.)
    could somebody give me a helping hand?

    thank you.

  2. Andrew
    Forum moderator
    Posted 1 year ago #

    Can you link to a page with the menu bar?

  3. muzli
    Member
    Posted 1 year ago #

  4. Andrew
    Forum moderator
    Posted 1 year ago #

    Add this to your Child Theme style.css file:

    #access ul {
        display: table;
        margin: 0 auto;
    }
  5. muzli
    Member
    Posted 1 year ago #

    it's working, thank you very much!
    i tried to set the margin of this element like this, but without the "display: table;" it didn't work.
    thanks again!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.