Home › Forums › CSS › Header Menu CSS not playing ball › Reply To: Header Menu CSS not playing ball
Thanks for the feedback Beverley. You’ve lost me in a few places though sorry…. This is the code (relevant) I have now:
#navigation a {
padding-right: 83px;
padding-top: 11px;
padding-bottom: 11px;
padding-left: 83px;
background-color: #b9bbaa;
margin-right: 3px;
margin-left: 3px;
}
#navigation .menu > ul > li:last-child a {
padding-right: 80px;
display: block;
}
.style2 .menu {
max-width: 1160px
}
@media only screen and (max-width: 1279px) {
#navigation .menu > ul > li.mega > ul.sub-menu {
width: 974px;
max-width: 940px;
display: block;
margin-left: auto;
margin-right: auto;
}
}
Is that in the right direction?