Treehouse: Grow your CSS skills. Land your dream job.

WordPress menu show Double line while hover

  • # May 31, 2012 at 4:37 am

    Please go to this website: Go to the Business Lines, and hover to the Property Developement & Project Management.

    The menu is turn to double line while hovering.

    How prevent this? I would like to maintain it in single line.

    # May 31, 2012 at 4:53 am

    The text turns bold when the link is hovered. This widens the text enough to make it wrap onto a second line. To prevent this, try:

    #menu-main_menu a {
    white-space: nowrap;
    # May 31, 2012 at 5:25 am

    Its working! thanks!

    # June 3, 2012 at 10:12 pm

    It looks like its now working in IE :(
    How to fix this?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.