htmlcssmenucenterblogger

How to center the navigation bar on my blog?


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...


Solution

  • Try like this:

    .containerclass {
        display: flex;
        justify-content: center;    
    }