Ivory Search › Forums › Support › Default Search Shortcode Causing Admin Panel Issue
- This topic has 3 replies, 2 voices, and was last updated 2 years, 1 month ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- October 6, 2022 at 5:15 AM #13331
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.
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. - October 6, 2022 at 5:10 PM #13337
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 SupportAttachments:
You must be logged in to view attached files.- October 7, 2022 at 11:22 PM #13362
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.
- October 9, 2022 at 10:21 PM #13382
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.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login