Search Bar Moved from Sidebar to Below Header and Above Body
-
How to move the sidebar search widget to below the header and above the body?
The blog I need help with is: (visible only to logged in users)
-
From chat support for anyone:
If you mention the theme (Big Brother), and what you’re hoping to achieve (i.e. I’d like to use CSS to position the search widget below the header but above the content), someone will respond with the exact snippet of code to use. -
Hi there, let’s start with this and see what you think. Paste this into your custom CSS below all other CSS you have in there.
.site-content { position: relative; } #search-1 { position: absolute; top: 0; left: 0; margin-top: 30px; width: 70%; } .primary { padding-top: 120px !important; } #search-1 input[type="search"] { width: 100% !important; } #search-1 .widget-title { display: none; } @media screen and (max-width: 959px) { #search-1 { width: 100%; } } -
-
- The topic ‘Search Bar Moved from Sidebar to Below Header and Above Body’ is closed to new replies.