Hi,
one small addendum to “Hide right search result column:
How to hide the reight column when tehre are no results? This must be the class search-no-results, but I need some help in order to have the right column hidden in both cases.
Thx!
Hugo
Hey ruediger_graf,
Thank you for the update.
You can use this css code to hide the sidebar when the search returns no items.
.responsive #top.search-no-results .sidebar {
display: none !important;
}
And if you want adjust the width of the content container as well, add this code.
.responsive .search-no-results .content {
width: 100%;
border: 0;
}
Best regards,
Ismael
Hi Ismael,
thx, that worked!
Best regards,
Hugo
Hi Hugo,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Enjoy the rest of your day!
Best regards,
Yigit