Jump to content
Sign in to follow this  
windwhippedfarm

Moving navigation bar to right side

Recommended Posts

windwhippedfarm

Hi, I am trying to move my navigation bar to the right. After checking out a few forum topics and the css tutorial, this is what I think I need to add in my CSS box: #primary-nav,{float:right;} No luck though, nothing changes. This is my first website attempt, thks for your help! Virginie

Share this post


Link to post
Share on other sites
cmunns

You have a comma in there that shouldn't be there.

Share this post


Link to post
Share on other sites
windwhippedfarm

I took the comma out but it still does not work. Any other suggestions? Thank you for your help Adam. Best, Virgine

Share this post


Link to post
Share on other sites
bryan-hadaway

If you get us a link we can test further. Thanks, Bryan

Share this post


Link to post
Share on other sites
Guest Guest

You need to also adjust the width of the primary nav, which by default is 968. Seeing as you're using the no search nav you'll want to use the following: #primary-nav ul.main-nav.nosearch

Share this post


Link to post
Share on other sites
windwhippedfarm

Hi Tyler, This is what I tried: #primary-nav ul.main-nav.nosearch {width:450px;} Still nothing changes, I just can't seem to get my CSS coding to work. Thks for your help, V

Share this post


Link to post
Share on other sites
Guest Guest

Try adding body in front of that code, and also try applying the same width to #nav_row and floating that right.

Share this post


Link to post
Share on other sites
windwhippedfarm

Thks, it's working!! Best, Virginie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×