When I search in HTML5 Top Navigation output, the first search result displays with the wrong formatting. It always displays like a standard link (blue and underlined) while all the other search results are styled correctly. Curious, I checked the official MadCap Flare top-nav help and it even happens there.
I looked at the source code and the style class is applied to the first result, it just doesn't render correctly. I've looked at this on my PC using FF 37, IE11, and Chrome 42. It also displays this way on my Android phone, in Dolphin and Chrome apps.
Does anyone else see this? If so, does anyone know why it does this and, more importantly, how to fix it?
Thanks,
-jeff
Top Nav Search Results - First Result Formatted Wrong
-
Chicago_HPT
- Sr. Propeller Head
- Posts: 133
- Joined: Sun Feb 03, 2013 6:01 pm
Top Nav Search Results - First Result Formatted Wrong
You do not have the required permissions to view the files attached to this post.
-
techwriter31
- Propellus Maximus
- Posts: 551
- Joined: Wed Mar 05, 2008 10:50 am
Re: Top Nav Search Results - First Result Formatted Wrong
Yeah, I ran into this as well. I meant to file a bug with TS, but never got around to it.
My workaround was to change the default font color for the Search Result Link (#0185D1) to match the color of the first link that was acting up (#1155cc). Not the best solution, but an easy workaround.
My workaround was to change the default font color for the Search Result Link (#0185D1) to match the color of the first link that was acting up (#1155cc). Not the best solution, but an easy workaround.
Kellie
Re: Top Nav Search Results - First Result Formatted Wrong
The first link isn't using the wrong formatting as such, it just looks different because it has focus - press Tab and you'll see it move to the next link.
So you just need to change the style for Search Result Link (focus) to whatever you want (I think it defaults to dark blue #220DC1). Just bear in mind that you probably do want it to be different so you can see which link has focus.
So you just need to change the style for Search Result Link (focus) to whatever you want (I think it defaults to dark blue #220DC1). Just bear in mind that you probably do want it to be different so you can see which link has focus.