Right now "Search This Site" is showing up on the top bar of my site… I've looked at the nav:top code and It isn't contained anywhere in there… how do I move search this site?
Can I put it on the bottom of the page? on the side bar?
On: 1231857826|%e %b %Y, %H:%M %Z|agohover
Number of posts: 9
RSS: New posts
Yes, it's all possible by altering your custom CSS. A discussion about it is at http://community.wikidot.com/forum/t-45298/search-box.
Rob
Strathview, thanks!
I also just found that adding:
#search-top-box {
display: none;
}
to my CSS removes it…
Unfortunately the top:nav menu doesn't shift right to occupy the freed up space :-(
In most themes, the #top-bar element is positioned absolutely (position: absolute;). so if you set the left position to auto and play with the right position a bit until your drop-down items don't crash into the right side of the page, it should work pretty well. For example, add something like this to your custom theme's CSS:
#top-bar {
left: auto;
right: 2em;
}
-Ed
what does
em
stand for?
Ed,
That did the trick!
I've got a lot to learn about css!
@aubreyhiers
This should show you everything you need to know about it.
what does
em
stand for?
In CSS-Style sheets / or commands) there are two ways to define "letter-values" or "Screen"-values:
- Absolute values ( decimals possible!) :
- pt - a point
- pc - Pica = 12pt
- in - inch
- mn - milimeter
- cm - centimeter
- Realtive values( relative to other values):
- px - pixel
- em - relative to the font-"height"
- ex - relative to the font-height of the letter "x"
- % - percentage of the "standard" sizes on the screen (or block)
Hope this helps a litttle ?
Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)
Wollen Sie Wikidot helfen im deutschen » Handbuch ?
Thanks Helmuti for the good and rich answer. I will just add it in a bit simpler way.
E.g. if you have set body font height to 10px (10 pixels), the 1em in the document will be 10px, 0.5 em will be 5px and 10em will be 100px. It's useful, because you can change font size of the whole by changing just body font size and the rest will change automagically.






