Site logo

[Resolved] Updating navigation search to navigation modal – navigation disappears

Home Forums Support [Resolved] Updating navigation search to navigation modal – navigation disappears

Home Forums Support Updating navigation search to navigation modal – navigation disappears

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2587027
    Debra

    Switching from navigation search to navigation modal on current sites causes it to disappear.

    I have the latest versions of GP and Premium.

    I did a clean install on a test site and the search works fine. The upgrade is the issue.

    On the three sites, I checked the source code.

    In the fresh install, I see this: <span class=”gp-icon icon-search”>

    In the legacy search, I see this: <span class=”gp-icon icon-search”>

    In the upgrade, there isn’t anything in the navigation for a search function.

    I have nothing activated except GP and GP Premium.

    Thanks,
    Debra

    #2587209
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Can you check if you have your “Icon Type” set to “SVG” vs “Font” in “Customize > General”. Looks like this may be a bug with the “Font” feature.

    If not, are you using the “Floats” value for the “Structure” option in the same section?

    Looks like the bug is can happen if either of those options are selected.

    If you can’t change those options (to “SVG” and “Flexbox”), you can use the following filter to turn the old navigation search back on:

    add_filter( 'option_generate_settings', function( $settings ) {
        $settings['nav_search'] = 'enable';
    
        return $settings;
    } );

    Let me know 🙂

    #2587392
    Debra

    Hi Tom,

    Well that was easy – floats to flexbox did it 🙂

    Thank you!

    #2587430
    Tom
    Lead Developer
    Lead Developer

    Great! Glad I could help 🙂

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