Menu Hover Color Change

pending (2 posts) (2 voices)

  1. agrCreative
    Member

    Hi Guys, I have searched and can't find anyting on this topic.

    I am using a Wordpress 3.0 Custom menu for my main navigation. Realised I can use a custom link with "h4" tag to get the same Cufon font in my navigation. Is there a way that I can make the font go Red when you hover over it, and when it is selected.

    Please see below a screenshot of my menu.
    Thanks

    Attachments

    1. menu_hover.jpg (15.8 KB, 2 downloads) 10 months old
    Posted 10 months ago #
  2. Elliott
    Support

    Hello agrCreative,

    Open up /wp-content/themes/awake/lib/scripts/custom.js and around line 215 you should see this,

    Cufon.replace('.toggle_frame h4.toggle', {color: '-linear-gradient(#bbb, #888)',hover: 'false' });

    Immediately after that line add this one,

    Cufon.replace('.jqueryslidemenu ul > li a', { hover: { color: 'red' } });

    Let us know if that works for you agrCreative.

    EDIT - Sorry, for the HTML/CSS version the line numbers may be a little off but it should still work fine.

    Posted 10 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme