Archived topic
How Do I Float a Menu Button to the Right?
3 replies · Started by Greg on July 9, 2019
Viewing posts 1–4 of 4
I have a menu button that I would love to float to the right side of the container on my desktop menu (my mobile menu breakpoint is 960). It's the free trial button. Is there a way to do this and keep the other menu items on the left side? Thanks for your help!
Hi there,
try adding this CSS:
.main-navigation li.nav-button {
float: right;
clear: right;
}
I always forget the clear class. It works perfect. Thanks!
Glad to be of help.
This archived topic is closed to new replies.