Home Forums Gist center navigation menu

This topic contains 1 reply, has 2 voices, and was last updated by  candidthemes 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10443

    herrablues
    Participant

    Hello, how to center navigation menu, can you share CSS code to do that?

    website: https://www.juankoskennaytelmakerho.fi

    cheers

    mrblues

    • This topic was modified 3 months ago by  herrablues.
    #10447

    candidthemes
    Keymaster

    Hi,
    Please add the below CSS codes on Appearance > Customize > Additional CSS,

    @media screen and (min-width: 1024px){
    	.main-navigation ul{
    		display: inline-block;
    	}
    	.main-navigation ul{
    		content: "";
        		display: table;
        		table-layout: fixed;
    		clear: both;
    	}
    	#site-navigation .menu-valikko-container{
    		    text-align: center;
    	}
    }

    Hope this works.

    Thank you

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.