Archived topic
Search result page from widget breaks layout
3 replies · Started by Jorge on May 10, 2018
I've set up a search widget everything works just fine except when used on the homepage.
The homepage settings are to be used without sidebars (the search results page has got one) and it's set on FullWidth to use a page builder.
The widget loads automatically (without needing to press enter on anything like that).
The layout when the results appear breaks and the widget text is there but it's hidden/doesn't show up.
I'm not sure where to look into. :/
Hi there,
Sorry not quite understanding what the problem is.
It does look like those elements are inserted using Visual Composer so perhaps check with their support?
Let me know :)
Hi Leo!
The issue is not with the elements of VC those are in place without any issue, and the results from the search page are loading as well. It's the container the one that's not working properly. The container is being displayed with a sidebar but it is not aligned and in some resolutions overlaps with the widgets area.
Thanks!
Your actual search results page doesn't have a sidebar, so I'm not sure why it's loading one.
I assume you're using a custom plugin for your search bar - perhaps ask them if it's possible to add or remove a class from the body element once a search is entered?