[Support request] Main menu and sticky creates duplicate id

Home Forums Support [Support request] Main menu and sticky creates duplicate id

Home Forums Support Main menu and sticky creates duplicate id

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #904459
    Longinos

    Hi
    When you use main menu (Main navigation) and sticky navigation they use the same elements and get the same element’s id´s, this throw a error of duplicates id’s (Ligthouse or any html tester).
    Can be feasibly to tag these elements with a prefix to get unique elements id´s?
    For example, the main menu w/o prefix and the menu elements in sticky prefixed with a letter, say s.
    Main: menu-item-XXX
    Sticky: s-menu-item-XXX

    #904581
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using the latest version of GP Premium?

    This should be already be fixed: https://generatepress.com/gp-premium-1-8/

    Menu Plus: Prevent duplicate IDs when sticky navigation is cloned

    #904979
    Longinos

    Hi Leo,
    Yes i use generatepress 2.2.2 and gp premium 1.8.2
    Perhaps some option i have missed?

    #905637
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    We had to revert this fix in 1.8.1, unfortunately. It was causing issues with Cyrillic characters: https://generatepress.com/gp-premium-1-8-1/

    We’ll be looking into a better fix for GPP 1.9.

    #905648
    Longinos

    Hi Tom
    Ok. I can wait for it. =:-))

    #905948
    Tom
    Lead Developer
    Lead Developer

    Awesome, thanks! 🙂

    #1080398
    Longinos

    Hi
    Some news on this?

    #1080517
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    We couldn’t get this into 1.9, unfortunately. It’s still a top priority – I’ll be sure to get it in 1.10.

    Sorry for the delay!

    #1245501
    Samuel

    Hello,

    I have the same issue, is there any news about a solution ?

    I turned off the sticky menu and I still have warnings about IDs duplicated : https://yellowlab.tools/result/fmnko7idny/rule/DOMidDuplicated

    An about lot’s of JS issues : https://yellowlab.tools/result/fmnko7idny/timeline#filter=eventNotDelegated

    Thanks,
    Sam

    #1245922
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    No solution yet, looking like it will make it in 1.11.0.

    Feel free to open a new topic about those issues – would help to see the site.

    Thanks!

    #1261732
    Duo

    very good, any news with this problem?
    regards

    #1262138
    Tom
    Lead Developer
    Lead Developer

    No news yet, 1.11.0 is still in development 🙂

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