-
Author
-
January 3, 2018 at 20:58 #184638
btroesch
ParticipantHello, where can I edit the layout of the search result page (i.e. enable/disable sidebars, enable/disable breadcrumb)? Thank you
January 4, 2018 at 17:39 #184733Laura
ModeratorHello, i can help you with css 🙂 So you want to hide breadcrumbs and sidebars?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 5, 2018 at 22:11 #184853Laura
ModeratorHello, try by adding this to style.css of child theme
COPY CODE.search-results section.container-wrap.main-title.alternate-color.main-center-title.border-bottom.breadcrumbs-container { display: none !important; } .search-results .sidebar.sidebar-main.col-sm-3.sidebar-right { display: none !important; } .search-results .template-page.col-sm-9.tpl-right.posts-listing.masonry-listing.with-meta { width: 100%; border: none !important; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 6, 2018 at 16:31 #184894btroesch
Participanthello, thank you for your reply. The css works in case a search result is found, however, if no search result is found, the page looks still the same as before.
January 8, 2018 at 14:09 #185140Laura
ModeratorHello, please send me a link directly to it so i can check the css
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 9, 2018 at 22:43 #185344Laura
ModeratorGot it, add this to the other code 🙂
COPY CODE.search-no-results section.container-wrap.main-title.alternate-color.main-center-title.border-bottom.breadcrumbs-container { display: none !important; } .search-no-results .sidebar.sidebar-main.col-sm-3.sidebar-right { display: none !important; } .search-no-results .template-page.col-sm-9.tpl-right.posts-listing.masonry-listing.with-meta { width: 100%; border: none !important; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘General questions’ is closed to new topics and replies.