Site logo

Archived topic

Updating navigation search to navigation modal - navigation disappears

3 replies · Started by Debra on March 29, 2023

Viewing posts 1–4 of 4

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

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 :)

Hi Tom,

Well that was easy - floats to flexbox did it :)

Thank you!

Great! Glad I could help :)

This archived topic is closed to new replies.