Default Search Shortcode Causing Admin Panel Issue

Ivory Search Forums Support Default Search Shortcode Causing Admin Panel Issue

Viewing 2 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #13331
      gnwebpub
      Participant
      • Topics: 1
      • Replies: 1

      This is hard to describe, but when I put a shortcode box on a page, and a Generate Blocks Container block on a page, it causes the admin panel for the container block to have huge spaces around the settings. In the picture it shows Ivory search in a resuable block, but I have also tested it in a standard shortcode box with the same results.

      container box issue

      In the picture above you can see the layout container box on the right is messed up, with way too much space around the setting options. This only happens with Ivory search on the page.

      I do have this custom CSS code for Ivory, but I have tried removing that CSS and it did not seem to make a difference.

      form.is-form-style span.is-search-icon,
      form.is-form-style input.is-search-input,
      form.is-form-style button.is-search-submit {
          height: 50px; 
      }
      
      @media (min-width: 769px)
      {
      form.is-form-style input.is-search-input {
      width: 40%; float: right;
      }
      }
      
      .on-page-search-box form.is-form-style input.is-search-input {
      width: 100%; float: left;
      }

      I also have a filter that replaces the WP search function box with Ivory on Generate Press.

      add_filter( 'generate_navigation_search_output', function() {
          return sprintf(
              '<div class="navigation-search">%s</div>',
              do_shortcode( '[ivory-search id="14078" title="Default Search Form"]' )
          );
      } );

      Thank you for your help.

      Attachments:
      You must be logged in to view attached files.
    • #13337
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      Sorry to hear about the problem you are having.

      I have tested it on my test site and it’s working fine for me using the latest versions of the plugins as displayed in the attached screenshot.

      This can be a theme issue used on your site so to confirm it just temporarily use the Twenty Twenty One theme on your site. If everything works fine then it’s your site theme issue.

      This can be due to plugin conflict on your site so please try temporarily deactivating all plugins except the GenerateBlocks and Ivory Search plugins and see whether everything works fine, and then enable the plugins one by one to see which plugin is conflicting if any.

      Best regards,
      Ivory Search Support

      Attachments:
      You must be logged in to view attached files.
      • #13362
        gnwebpub
        Participant
        • Topics: 1
        • Replies: 1

        Thank you. I discovered on my site that the problem only presents itself after a page has been published, you leave the edit page screen, and then come back to the edit screen.

    • #13382
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      I still couldn’t reproduce it as shown in the attached screenshot.

      Could you please share the video of the issue?

      Also, please test whether it is a theme or plugin conflict issue as described in my previous reply.

      Attachments:
      You must be logged in to view attached files.
Viewing 2 reply threads

You must be logged in to create new topic or reply to the topic.