• I am adding Pseudo-elements to the sub menu UL with doing ul.mega-sub-menu:before{content: “”;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    }

    However, before element is not appearing with max mega menu items, is this a bug?

    • This topic was modified 2 years, 6 months ago by shaishel.
Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi shaishel,

    Try adding !important to your display: inline-block;, or increase the specificity of your selector so that it overrides our rule that sets it to display: none;.

    Regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘:before or :after elements not appearing for UL/LI items’ is closed to new replies.