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.

Comments

pivica created an issue. See original summary.

pivica’s picture

First patch for this.

pivica’s picture

StatusFileSize
new3.46 KB
new1.09 KB

CSS 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.

  • pivica committed 120a55b on 8.x-1.x
    Issue #3021125 by pivica: Add support for no-link menu items
    
pivica’s picture

Committed.

pivica’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.