The front page link has a path of < front >, which is used in the CSS class. This is invalid CSS, and cannot be styled due to the presence of the < and >. The simplest way to remove these is to add them to the str_replace when building the classes. I have attached a patch for this.

This is a great module, by the way, and works well in 5.2. A few CSS fixes are sometimes required depending on the theme used, but overall I think its ready for production sites. One tip for people who have the drop-down menu appear behind content, is to add a height declaration to the surrounding div, and also give that div position:relative;z-index:10;.

CommentFileSizeAuthor
nice_menus_str-replace.patch1.07 KBdavemybes

Comments

add1sun’s picture

Status: Active » Closed (duplicate)