Hello,

The theme I am using is underlining each link, so my menu items were being underlined too, and I did not like it so I tried to find the class assigned to the menu items.

It seemed to be the class .dropdown-toggle, so I added to it "text-decoration: none;" but then I could still see some sub-menu items being underlined, especially the last ones.

So I look at the classes and it appear that the last sub-menu items have no classes assigned to it.
Check the image inclosed.

I think this issue is related to this one [#12053875],
I did try the patch [#12053875-12] but with no sucess.

Thanks

Comments

drupalycious’s picture

Title: no classe assigned to last item in the submenu » no class assigned to last item in the submenu

By "especially the last ones" I mean sub-menu items that do not have a child item (they link to content or to an external url) do not get assigned a class.

vincentdemers’s picture

Status: Active » Needs review
StatusFileSize
new1.04 KB

Here is how I achieved this. Might be useful for someone. Patch is based on 7.x-1.0-rc2+7-dev

quondam’s picture

Version: 7.x-1.0-beta2 » 7.x-1.0-rc3
Status: Needs review » Active

In order to implement this fix the provided patch would need to be re-rolled so that it applies cleanly to the current 7.x-1.0-rc3 branch.

rbrownell’s picture

Status: Active » Closed (outdated)

Thanks for the report and for contributing to the TB Mega Menu issue queue.

Drupal 7 reached end of life on January 5, 2025 and is no longer supported going forward.

As part of wrapping up Drupal 7 support for this project, issues that do not include a code-based resolution (including issues where the only patch is out of date and requires a re-roll) are being closed as Outdated as part of this cleanup.

This closure reflects the end-of-life status of Drupal 7 and the absence of an up-to-date fix we can act on, not the validity of the issue itself.

If the issue applies to a currently supported version of Drupal, please open a new issue with updated details.

Thanks again to everyone who contributed during Drupal 7’s lifecycle.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.