Tagged: search box
- This topic has 3 replies, 2 voices, and was last updated 12 years, 9 months ago by
Sebastian.
Author | Posts |
---|---|
vargula
June 27, 2012 at 1:22 am
|
Heads up! this post was created when Microthemer was at version 1. The current version is 7. Some references to the interface may be out of date. Hi – while changing other things, I found that my search box had displaced from where it was previously (it was previously situated exactly on the navigation bar). A screenshot is at the following link (for benefit of future reference, as I hope to get it fixed soon): I have spent about two hours trying to work out how (in Microthemer) to get it back there without messing up other settings. …so any tips gratefully received!!! Ed |
Sebastian
June 27, 2012 at 11:03 am
|
Hi Ed, The search form is positioned by the theme’s default stylesheet with “absolute” positioning. I think you just need to tweak the value for “bottom” in Microthemer’s positioning options. Things will have got a bit messed up when you adjusted the vertical white space. Find the “Search Site Wrapper” selector in the “Search Site” section, open up the “Position” options and set “Bottom” to “0” or “10” or something. The search field should then move back up to the nav bar. (Update: changing the “bottom” value may not work – try experimenting with a value for “Top” – negative values are allowed e.g. “-15”) Note: in general, you would need to set the position to “absolute”, “relative”, or “fixed” in order for “top”, “bottom”, “left”, or “right” position values to have any effect, but the Twenty Eleven theme’s CSS is already applying a position of “absolute” to the search field’s container div. |
vargula
June 27, 2012 at 2:28 pm
|
Yay – genius – again! A setting of 25 worked like a treat and its back where it should have been 😉 |
Sebastian
June 27, 2012 at 3:45 pm
|
Great! |