Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nav Menu: Submenu Indicator spacing still present when 'None' selected #15365

Closed
2 tasks done
simonclay opened this issue Jun 15, 2021 · 7 comments
Closed
2 tasks done
Labels
bug Indicates a bug with one or multiple components.
Milestone

Comments

@simonclay
Copy link

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

When selecting 'None' for Submenu Indicator in the Content tab of Nav Menu, Elementor still displays the spacing to the right of the nav item where the indicator would be.

If 'None' is selected for Submenu Indicator, the space should be removed.

selector span.sub-arrow { display: none } solves the issue.

@DorShahar DorShahar added the bug Indicates a bug with one or multiple components. label Jun 30, 2021
@ajoah
Copy link

ajoah commented Jul 16, 2021

I confirm the issue

@shilo-ey
Copy link
Contributor

This issue has been resolved in Elementor Pro v3.4.0

Feel free to update

Thanks!

@puregraphx
Copy link

puregraphx commented Sep 30, 2021

This issue has been resolved in Elementor Pro v3.4.0

I am already on 3.4.1. and the issue is still visible. The Sub Arrow still takes 10px of space which causes an annoying glitch (bad for Google CLS score)
Padding should be 0 when sub arrow is not displayed.

/wp-content/plugins/elementor-pro/assets/css/widget-nav-menu.min.css
.elementor-nav-menu .sub-arrow { line-height: 1; padding: 10px 0 10px 10px; margin-top: -10px; margin-bottom: -10px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center;

I fixed it with this css, be sure to include "body" otherwise the declaration is not specific enough and will be overwritten by /widget-nav-menu.min.css

'body .elementor-nav-menu .sub-arrow {display:none;padding:0}'

@morgank-atl
Copy link

I'm on Pro version 3.4.2 and this issue is still happening.

@Hativ
Copy link

Hativ commented Aug 17, 2023

Still an issue today.

@ThomasDK81
Copy link

Still a bug in v3.16.5

@ronnyadsetts
Copy link

This remains a bug ~3 years since reporting in v3.21.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a bug with one or multiple components.
Projects
None yet
Development

No branches or pull requests

10 participants