Hidden Manu Item Issue - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Hidden Manu Item Issue

EM

Elmir Mustafic

Helix Framework 3 years ago

Hello, i have in main navigation some hidden menu items. They dont show but add space inside menu. check screenshot: https://prnt.sc/_Vu11WYxJ2aA HTML generated

<ul class="sp-megamenu-parent menu-animation-fade-up d-none d-lg-block">
<li class="sp-menu-item"><a href="/">Home</a></li>
<li class="sp-menu-item"><a href="/siti-web">Siti Web</a></li>
<li class="sp-menu-item"><a href="/progetti">Progetti</a></li>
<li class="sp-menu-item"></li>
<li class="sp-menu-item"></li>
<li class="sp-menu-item"></li>
<li class="sp-menu-item"></li>
<li class="sp-menu-item"></li>
<li class="sp-menu-item"></li><li class="sp-menu-item current-item active"><a aria-current="page" href="/digital-marketing">Digital Marketing</a></li></ul>

Or check directly online

0
6 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #70487

Ciao Elmir,

Hmm, that's weird, I tested Helix Ultimate 2.09 few seconds ago on my demo site and hidden menu items are not displayed.

Make sure that you used "Display in Menu: No" option to hide them

foto_8404_2022.jpg

0
EM
Elmir Mustafic
Accepted Answer
3 years ago #70627

I used, in screenshot it display Nascosto that means Hidden.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #70636
  1. Do you have any cache enabled on your site?
  2. Can you share access to admin area?

In general I am supriced, becuase I cannot reproduce that error on my sites.

0
EM
Elmir Mustafic
Accepted Answer
3 years ago #70795

No cache activated. Here qe go with admin area

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #70797

Thx, solved partialy - it's also your small mistake, in custom.css you added that line

.sp-megamenu-parent > li {
  margin: 0 20px;
}

margin or padding should be added to .sp-megamenu-parent > li > a next time, I corrected that already, but anyway I have to talk with the developer to check why in J4 hide menu items work differently than in J3. in my J3.10 site no html left from hidden menu item.

0
EM
Elmir Mustafic
Accepted Answer
3 years ago #70821

Thank you, my bad that i didn't check custom.css but only because there should not be that html output. I have another website with J4 (updated from J3) and if i hide menu item there is no html output of that item https://prnt.sc/98HTy0wGM1Rt

0