Widget and header
-
Hi,
I have a Text widget in the sidebar which contains a DIV with a CSS class “box”. I want to make it stick on the top of the blog. So, I used this CSS:
.box {
position:fixed;
left:975px;
top:0px;
width:100px;
background:red;
height:30px;
}The DIV does move to up and stick above. However, it seems my banner appears in front of it. So, the first top 200px, the DIV does not appear because the banner covers it. Once I scroll down, then it appears.
I tried to put z-index:-9999; on the header container but it still covers the DIV.
Help…
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Widget and header’ is closed to new replies.