Menu CSS

  • Cinodrago

    #48948

    Hi thanks for graphene theme.
    I’d like tu center the menu under the header. How can I do, I don’t find css properities…
    by CN

    Admin

    Syahir Hakim

    #48953

    Copy and paste this code into Additional CSS:

    @media (min-width: 768px){
    	.navbar-nav {
    		text-align: center;
    		width: 100%;
    	}
    	.navbar .nav>li {
    		display: inline-block;
    		float: none;
    	}
    }
    

    Cinodrago

    #48956

    Thanks a lot,
    It works

    Anonymous

    #49650

    Can this be applied to the footer menu also?

    I haven’t tried it, because I’m unsure of the selector(s) to add.

    Thanks.

    Admin

    Syahir Hakim

    #49664

    The footer menu is using different selectors. Try this:

    @media (min-width: 768px){
    	#menu-footer-menu {
    		text-align: center;
    		width: 100%;
    	}
    	#menu-footer-menu>li {
    		display: inline-block;
    		float: none;
    	}
    }
    

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

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