• Resolved alanjdoolan

    (@alanjdoolan)


    Hi all,

    I’m pulling out my hair here trying to figure out this issue. I am working on a site that has it’s menu look controlled by Option Tree. I’ve set it up so that the font colour changes based on what the user puts in. What I want is to have the font change colour and size when the mouse rolls over it. I can’t seem to get it at all!!

    The edits in the styles page make no real change and when I edit the header it work to change the font colour but can’t get it to only change it when the mouse is over it.

    #menu li.current-menu-item a {
    color: <?php echo get_option_tree(‘menu_active_text’); ?>;
    }

    #menu li a {color: <?php echo get_option_tree(‘menu_color’); ?>;
    }

    #menu li a:hover {color: <?php echo get_option_tree(‘hover_menu_color’); ?>;
    }

    </style>
    </head>

    Any ideas?

    Thanks,
    Rua

Viewing 5 replies - 1 through 5 (of 5 total)
  • Phil

    (@owendevelopment)

    Link to site?

    Thread Starter alanjdoolan

    (@alanjdoolan)

    Phil

    (@owendevelopment)

    I take it you fixed this as it increases font size and color when hovering now?

    Thread Starter alanjdoolan

    (@alanjdoolan)

    Figured it out after a late one yesterday.

    It was ‘cufon-yui.js’ being used as the font by the guy who set up the site. It was getting in the way of my changed. Just removed the instance call of it as a quick fix and all works now.

    Thanks for having a look.

    Phil

    (@owendevelopment)

    Yeah, Cufon does that. You can underline text on hover with Cufon, just not change the colors.

    Have you looked at Google Web fonts instead of Cufon? You can get really nice custom fonts that ARE affected by CSS (colors, font-sizes etc). Have a look. It’s also a LOT easier to install than Cufon. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Header File Hover Text Change’ is closed to new replies.