Trying to center my nav menu

  • ss1104



    @media (min-width: 768px){
    	.navbar-nav {
    		float: none;
    		margin: 0;
    		text-align: center;
    	.navbar-nav>li {
    		float: none;
    		display: inline-block;
    	.navbar-nav>li:last-child {
    		border-right: none;

    I tried using the code above and it does not center my menu.

    I am using graphene through my university’s WordPress account and am using elementor to edit my site too.

    I get this error when I try this code –

    Invalid URL: min-width: 768px
    URL should start with http:// min-width: 768px

    I am very unfamiliar with custom css and would appreciate any help .

    Thank you!


    Syahir Hakim


    Please provide the URL to your site so that we can take a look.

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

  • You must be logged in to reply to this topic.