Custom Search Component, do I need one?
We want to move the search bar from the main panel to the side rail in one section of our Community. When we move the component around in Studio, the drop-down causes the Search widget to take up extra space, and is not a desired look.
It seems that if we want to modify the search bar, I would need a custom component to do this. Does this sound right?
Here is what I am looking to do:
- I want the search bar & button to take up just 1 line and not drop to multiple lines (like the Lithium component does)
- In order to accomplish this I (think I) need to hide the search drop down just in this one area (it is on a specific page type, so it would be universal across the page type, but not affect the rest of the Community).
Any recommendations or suggestions are welcome.
- Ok, another way of achieving this. Create a custom component(don't worry, we will still use the default search component) and include the search component in it and hide the drop down in this one from the parameter. Add a condition to this custom component so this renders only when the page is the one you want. Add the css inside the condition as well. Should get you what you're looking for.