Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Menu item without page link is not styled (http://forum.bytesforall.com/showthread.php?t=11897)

webalyst Dec 27, 2010 12:38 PM

Menu item without page link is not styled
 
Atahualpa 3.5.3:

If I create a menu item for which there is no page (so I can just hang a submenu off it) the item style is different to the rest of the menu items (I assume the style is not set) unless the mouse hovers on the item, in which case it picks up the correct style.

You can see the effect at http://thewebalyst.com/home/

On the "Library" menu there is an item "MenuTest (no link)"

Mark

lmilesw Dec 27, 2010 01:01 PM

If you want it to look the same just put # in the url field for the menu item.

webalyst Dec 27, 2010 01:07 PM

Excellent, thank you

Mark

webalyst Dec 28, 2010 01:52 PM

I asked for this thread to be opened again because although using '#' for the menu item URL solves the most obvious problem it leaves a couple of subtle (therefore tricky) issues instead, although they may be classified as low priority:
1) Others encountering this are likely to fail to find the '#' solution, and so conclude that atahualpa doesn't support menu items without a link
2) The '#' behaviour works by creating a link that goes nowhere.This encourages the user to click and get no response which is confusing. The correct behaviour would I think for the menu item not to highlight when the mouse hovers, and to always have the style of an non-hovered menu item. I don't think it would be helpful to have a different style for this case as the effect would be to make a non-clickable menu item stand out (i.e. the opposite of what is wanted).

Mark


All times are GMT -6. The time now is 10:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.