Problem/Motivation
Often there is a need of menu items in header or footer which does not have a menu link but are just used to visually separate menu subsections.
Proposed resolution
Let us add support for new 'no-link' CSS class in menu link attributes. Then in menu template when menu item has 'no-link' CSS class we will render menu item without a link tag.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff-3021125-2-3.txt | 1.09 KB | pivica |
| #3 | allow-menu-item-without-link-3021125-3.patch | 3.46 KB | pivica |
Comments
Comment #2
pivica commentedFirst patch for this.
Comment #3
pivica commentedCSS for nav-links should be improved now to support no-link option. The easiest way is to make hover and similar rules a bit stronger so they also have a tag in CSS selector.
Comment #5
pivica commentedCommitted.
Comment #6
pivica commented