Autofit Menu (2 posts)

  1. Center for STEM
    Posted 2 years ago #

    I am trying to set the menu bar to adjust to 20% page right - it is currently set to a fixed number of pixels from the edge: http://www.stem.neu.edu

    Any help is so very greatly appreciated!

  2. paulwpxp
    Font hero
    Posted 2 years ago #

    In style.css, remove margin-left and margin-right from this

    ul.sf-menu {
    	background-color: #CC0000;
    	border-right: medium none;
    	float: left;
    	margin-left: 172px;
    	margin-right: 25px;

    and put this in

    .menu {
    	width: 925px;

    Or just put this in the Custom CSS option.

    ul.sf-menu { margin-left:0; margin-right:0; }
    .menu { width: 925px; }

Topic Closed

This topic has been closed to new replies.

About this Topic