This topic is: not resolved
- This topic has 0 replies, 1 voice, and was last updated 1 year, 6 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Community Forums › Forums › StudioPress Themes › Monochrome Pro › Use Monochrome Pro header search without sticky header?
Tagged: header search, monochrome pro, search bar
Hello,
I noticed with Monochrome Pro, if I take out
position: -webkit-sticky;
position: sticky;
On .site-header
Then the header search bar loses its formatting. Its height gets much higher, for one. You can test this on any Monochrome Pro install, even on the demo here https://www.studiopress.com/themes/monochrome/#demo-full (by using Inspect Element to 'uncheck' the CSS lines noted above).
However, I don't want to keep the header sticky for people who are scrolling downward to see the rest of the site. But I DO want to use the header search function.
Is there a way to use the header search without having a sticky header?
If so, can someone tell me what to change so that the styling remains the same after someone clicks on the search icon to search for something?
This may be a stupid question, but when I try to style the search bar using Inspect Element in Chrome (after someone clicks the search icon), it disappears. So it's nearly impossible to re-style visually that way. If there is a better way I'd love to know what it is...
Find me at Joyce Grace (http://www.joycegrace.ca)
© 2024 WPEngine, Inc.