badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Center Menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #75427
    venepress.web
    Participant

    Hi, Could you center the main menu?

    by default it is aligned to the left, could I change this?

    #75466

    Hi @venepress-web,

    To make the Navigation Menu Center please go to ‘Appearance > Customize > Additional CSS’ and paste the below Custom CSS code.

    @media (min-width: 992px) {
    	.navbar-main .container {
    		padding-left: 85px;
    	}
    	.main-navigation {
    		width: 100%;
    	}
    	.main-navigation .navbar-nav {
    		display: flex;
    		-ms-flex-wrap: wrap;
    		flex-wrap: wrap;
    		-ms-flex-pack: center;
    		justify-content: center;
    	} 
    	.main-navigation li {
    		-ms-flex: 0 0 auto;
    		flex: 0 0 auto;
    		width: auto;
    		max-width: 100%;
    		float: none;
    	}
    	.navbar-nav.d-lg-block {
    		display: flex !important;
    	}
    }

    Thanks

    #75493
    venepress.web
    Participant

    Thx!

    #75517

    Welcome anytime @venepress-web

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.