HTML5 TopNav - help with menu hover color

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
dmastri
Jr. Propeller Head
Posts: 4
Joined: Wed Feb 14, 2018 12:43 pm

HTML5 TopNav - help with menu hover color

Post by dmastri »

I'm having a problem getting the TopNav menu hover color to work. I did some searching on here and noticed a few posts referencing a bug with it not honoring changes made in the GUI skin control and having to insert CSS to fix:

ul.navigation ul.sub-menu
{
background-color: #686868;
}

This fixed my hover colors, but the arrow (caret) that points back up to the first level item is getting drawn over by the list when you hover. See screenshots of my project vs default template. How do I move down my list or move up the caret image?

My project
temp1.jpg
Template example
temp2.png
You do not have the required permissions to view the files attached to this post.
dmastri
Jr. Propeller Head
Posts: 4
Joined: Wed Feb 14, 2018 12:43 pm

Re: HTML5 TopNav - help with menu hover color

Post by dmastri »

If anyone else gets stuck, I solved this one by applying margin-top to ul.navigation ul.sub-menu :)
Jbleasdale
Propeller Head
Posts: 58
Joined: Tue Mar 21, 2017 3:35 pm

Re: HTML5 TopNav - help with menu hover color

Post by Jbleasdale »

That little carat comes from this bit of CSS.

Code: Select all

ul.navigation > li.has-children:after {
    content: ' ';
    display: block;
    position: absolute;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    bottom: 0;
    left: 50%;
    margin-left: -8px;
    border-bottom-color: yellow;
}
If you want to override it's properties, you can do so. In the above example, I changed it from grey to yellow.
Joe Bleasdale

My Linkedin

Image
Post Reply