No Code Attached Yet
avatar brianteeman
brianteeman
6 Aug 2021

Steps to reproduce the issue

Install blog sample data and create a menu item of type Menu Separator in both the blog menu and the special menu
image

Expected result

Separator text is displayed

Actual result

Dropdown menu displays line

image

Regular menu displays text

image

No option to chose text or line as suggested in the description

avatar brianteeman brianteeman - open - 6 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Aug 2021
avatar richard67
richard67 - comment - 7 Aug 2021

Hmm, from memory I'm almost sure we had it working in past, there was the menu item's title shown if it was not empty, or a line was shown if the title was a space only. But I might remember wrong or mix up J3 and J4.

avatar brianteeman
brianteeman - comment - 7 Aug 2021

the class in the dropdown is a divider

metismenu.mod-menu .mm-collapse>li.divider:not(.parent) {
    width: auto;
    height: 1px;
    border-bottom: 1px solid #ced4da;
}
avatar chmst
chmst - comment - 7 Aug 2021

In J3, the separator is text as it is in your example and is unchanged for non-metismenus.

In Metismenu it was intended to have a separator line (texts can be added to a menu as headlines).

We can change this so that the separator is a line if the param menu_text is "no" and is a text if the param menu_text is "yes".
But it is not self explaining.

avatar brianteeman brianteeman - change - 1 Feb 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-02-01 23:05:08
Closed_By brianteeman
Labels Added: No Code Attached Yet
Removed: ?
avatar brianteeman brianteeman - close - 1 Feb 2022

Add a Comment

Login with GitHub to post a comment