Hello, Im using a shortcode to display search settings on sidebar however my homepage and many other pages do not have that sidebar, so when I go to other pages the search settings show below the search bar which breaks my theme layout. I would like to know how to show search settings only when the Custom Settings position shortcode is present on the page.
Based on your design, I think custom CSS would be the easiest solution. The search is within a distinctive container from the theme, so using this should do the trick:
Alright, however having a lot of unnecessary dom elements in the page is not good, I would like to request this feature, if the search settings shortcode is not present then do not show it.