Reply To: Floating navbar problem

Home Forums Support Floating navbar problem Reply To: Floating navbar problem

Home Forums Support Floating navbar problem Reply To: Floating navbar problem

#107034
Adrian Cojocariu

Ok I figured it out some way in CSS.


@media (max-width:915px) {

#site-navigation {
max-width:550px;
}

.nav-float-right .main-navigation {
float:none;
margin-bottom: 20px;
margin-right:auto;
margin-left:auto;
}

.site-header {
text-align:center !important;
}
}

Although, the problem is that the menu when floating: none has the right margin infinite. I fixed this by adding max width but instead I want to end the margin of the floating: none; navbar where the last navmenu item is.

I represented in this image, take a look.

http://s1.postimg.org/x0uyrb0ta/make_it_end.jpg

If you think this is the best choice, I’ll keep it 🙂

Thx