문제

There is currenlty padding on the left that is somehow added to the menu by refinery.

padding

When inspected the element for header#header nav#menu these are the CSS rules

header#header nav#menu {
  width: 100%;
  max-width: 360px;
  margin: 0px auto;
  padding: 0px 6px;
}

The <ul> had no rules. And the item menus are floated as

header#header nav#menu ul li.first {
  float: left;
}

header#header nav#menu ul li.last {
  float: right;
}

So how can I push the first item menu into place? It seems to be floating as far left as possible, but its parent container may somehow be interfering.

도움이 되었습니까?

해결책

Try this:

header#header nav#menu ul {
  padding-left: 0;
}

or

header#header nav#menu ul {
  margin-left: 0;
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top