WordPress.org

Ready to get started?Download WordPress

Forums

Reddle
[resolved] center menu bar (5 posts)

  1. muzli
    Member
    Posted 10 months 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 10 months ago #

    Can you link to a page with the menu bar?

  3. muzli
    Member
    Posted 10 months ago #

  4. Andrew
    Forum Moderator
    Posted 10 months ago #

    Add this to your Child Theme style.css file:

    #access ul {
        display: table;
        margin: 0 auto;
    }
  5. muzli
    Member
    Posted 10 months 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!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.