skip to Main Content

How can I center the navigation bar of my Blogger blog? It’s currently on the left, but I want it centered. template

I tried putting

text-align:center;} and align-items:center;} almost everywhere in the navigation menu code, also but nothing happens…

2

Answers


  1. Try like this:

    .containerclass {
        display: flex;
        justify-content: center;    
    }
    
    Login or Signup to reply.
  2. On your <div class="menuIn"> element you could add the following styles to center the menu.

    display: flex;
    justify-content: center;
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search