Hi guys,
Just wondering how to push my main menu ‘log in’ button to the right…?
Currently, the button has the ‘nav-button’ css class. I was given this code originally and not sure why it’s stopped working:
@media (min-width: 768px) {
.inside-header, .main-navigation ul {
display: flex;
}
.main-navigation {
flex: 1;
}
.main-navigation li.push-right {
margin-left: auto;
}
}
Any help would be much appreciated ๐
Thanks,
Joel
P.S. When I try adding the ‘push-right’ css class alongside the ‘nav-button’, it pushed it too far over to the right of the screen