Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1330338

    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

    #1330421

    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

    #1330444

    Hi Ismael,

    thx, that worked!

    Best regards,
    Hugo

    #1330445

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Addendum to "Hide right search result column"’ is closed to new replies.