WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Fourteen
[resolved] How do i change the menu hover color and fade in/out effect? (5 posts)

  1. Cheung Tat Ming
    Member
    Posted 5 months ago #

    I like this default theme, but how do i change the green color (when hover) to other color?
    and add fade in/out effect( e.g. from black to orange when mouse over and from orange to black when mouse out).

    thanks you.

  2. batharoy
    Member
    Posted 5 months ago #

    There is a plugin called fourteen colors that help with color changes.

  3. Nick Halsey
    Member
    Posted 5 months ago #

    And to animate all link color changes on hover, you can add the following Custom CSS:

    a { transition: all .2s ease; }
  4. Trisha.Blogs
    Member
    Posted 5 months ago #

    add this to your child style.css:

    .site-navigation .current_page_item > a, .site-navigation .current_page_ancestor > a, .site-navigation .current-menu-item > a, .site-navigation .current-menu-ancestor > a {
    color: #4eb4d5; // link color
    }

    .primary-navigation li:hover > a, .primary-navigation li.focus > a {
    background-color: #57f941; // link hover color
    }

  5. Cheung Tat Ming
    Member
    Posted 5 months ago #

    thanks you batharoy & Nick Halsey!
    It's good solution :)

Reply

You must log in to post.

About this Theme

About this Topic

Tags