Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #896073

    Hi there,

    I would like to hide all items in a mega menu on mobile view, where the description is used to create a text block.
    Background: The menu is very complex and the menu items with images shall only be displayed on desktop view.

    The code doesn’t make a difference between standard link items and content items.

    As alternative I tried adding an extra class to those text block items, which shall not be displayed in the mobile menu. Obviously the class is not added to the element. It still shows up like:

    <li class=”menu-item-12345″> …
    instead of
    >li class=”menu-item-12345 hide”> …

    It would be excellent, if in the upcoming release you are able to manage to add a class by default to such items.

    Sidenote: Please compare the desktop mega menu item with the mobile mega menu item. The code added to a text block consists of a image and an h3 tag, which both are surrounded by an a-href. The h3 is stripped at the mobile mega menu item, only the image is kept.

    • This topic was modified 6 years, 11 months ago by mailworm.
    #896420

    Hey mailworm,

    We are aware of the problem and we’re very sorry about it, it should be fixed in the next release of the theme though.

    Best regards,
    Rikard

    #896459

    Ok thanks,

    can you please let output a generic class in all mega menu text blocks in mobile as well? This would save lots of time for complex mega menus, where the text blocks shall not appear in mobile view.

    Thanks.

    #896573

    Hi,

    Thanks for the feedback, I’ll check with the developer. I’m guessing it shouldn’t be all that difficult to implement.

    Best regards,
    Rikard

    #896580

    Hi again,

    We have a ticket for this in our internal development now, so it should hopefully be included in the next release :-)

    Regards,
    Rikard

    #896583

    Lovely! Thank you!

    P.S.: Enfold & Kriesi are my fav theme / theme dev for years now! Keep up the good work!

    #896849

    Hi,

    Thanks for the kind words, we should hopefully get your wishes into the next release of the theme :-)

    Best regards,
    Rikard

    #898258

    Just ran into this as well. CSS Class on a menu links (from Appearance>Menus) is not applied.

    #898948

    Hi,

    We released a new version (4.2.1) of the theme yesterday, though I regretfully must inform that this fix didn’t make it in to that. In the future, we will try to put out a new version every week though, so it should not take all that long for us to fix this.

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.