In my main menu, I have the following links: Home, About Us, Blog, Log In and Sign Up. I want the Log In and Sign Up links to float to the right such that there will be space/gap between the 'Blog' and 'Log In' links.

Please how can I achieve this?

2 Answers 2


You can use menu attributes module to specify ids for those both menu then you try


If you're ok with wading into code, you can use _menu_item_alter() in your template.php to add CSS classes to just the menu items you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.