• Resolved rainsmom

    (@rainsmom)


    I’m using Blocomo, a child theme of Twenty Twelve. I’ve been unable to get the nav menu to align to the right side of the page. (Note: I am making changes in Blocomo, NOT in Twenty Twelve.)

    This is the site with the recalcitrant menu:
    https://www.clickersolutions.com/wordpress/

    And this is the menu-related CSS code in Blocomo:

    .main-navigation {
    	position: relative;
    	Margin: 0em 0em;
    	Height: 2em;
    }
    
    .main-navigation div {
    	display: inline-block;
    	margin: 0 auto;
    	margin-right: 0px;
    }
    
    .main-navigation ul.nav-menu,
    .main-navigation div.nav-menu > ul {
            float: right;
    }
    
    .main-navigation li.nav-menu,
    .main-navigation div.nav-menu > li {
            float: right;
            position: relative;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to right-align a menu’ is closed to new replies.