WordPress.org

Ready to get started?Download WordPress

Forums

Styling the nav (wp_nav_menu) (2 posts)

  1. all-nighter
    Member
    Posted 4 years ago #

    There are a few issues that i'm having in styling my nav. I would greatly appreciate any help!

    http://all-nighter.com/

    1. When you hover on the category names the list of subcategories appear underneath. But when you move your mouse from the category to the subcategories they disappear. Somehow I have to increase the size of the li's for the categories so that when you move your mouse down you're still hovering over the li. I thought adding padding would help, but it didn't work out. Any ideas?

    2. Right now the background color for all of the nested li's is blue as is the color of the links' hover states. I would like each of these sub categories to have different background colors. Is there a way to apply an id to each category li and to style them individually?

    Thanks!

  2. all-nighter
    Member
    Posted 4 years ago #

    Increasing the height of the li (for the categories) is helping with the first problem. I don't know if there is a better solution...

Topic Closed

This topic has been closed to new replies.

About this Topic