less - Bootstrap navbar margins -
i'd make left , right margins of navbar conetnt smaller "brand" (left component) appears more on left default , same right component.
can point me relevant less variables modify?
thanks
with basic layout, css selector want is
body > .navbar .brand
play margin-left , margin-right until result want. depending on how calling css styles, may need add !important well, eg
body > .navbar .brand{ margin-left:-20px !important; margin-right:-20px !important; }
if don't have success this, try ommitting body >
edit
if want change width of entire navbar, try
.navbar{ margin-left:-20px; margin-right:-20px; }
you might need adjust details navbar-inner, eg
.navbar-inner{ padding-left:0; padding-right:0; }
edit
see if helps: http://jsfiddle.net/panchroma/zbezf/
good luck!
Comments
Post a Comment