Styles to be applied only when search box is open
-
Hello, I’d like to set a specific height for my search results box (490px). However, I can’t find a way to add this height only when the box is open. It doesn’t look like a particular class is added when the box opens, just inline styles.
When I have the height there all the time, the box is there in the inspector taking up space (its not displayed hidden or visibility hidden) and as it has a higher z index than clickable content under it, I can’t access the buttons in that clickable content.
Please could you add a class to the results box when it is open so I can add my height on that or set the box to be displayed none / visibility hidden when its not open so it doesn’t take up space?
- The topic ‘Styles to be applied only when search box is open’ is closed to new replies.