• Hi everyone!
    I really want to have a fixed header and sidebar on my page. The position:fixed worked on the sidebar but of course not in IE. Is there a way to get around that and also make the header with the menu to always stay on the top? Should I look into frames or is that not at all Worpress compatible?

    Here’s the site:

    https://www.alidaivanov.com/?page_id=34

    This is my first WP site, so I’m basically a rookie!

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Frames are not a good idea – especially with WordPress. position:fixed should work in IE8 but you’ll have to settle for a non-fixed header and sidebar in IE7 or below.

    Thread Starter katyasandom

    (@katyasandom)

    Thanks!
    hmm I think i’ll take my chances with IE8!
    I’m having difficulties making my css work though. For some reason my header just disappears, or appears behind and under my horizontal menu! I’m using the black hat theme and I just can’t figure it out!

    Try adding a 50px margin-top to #allowed and increase the margin-top on #sidebar from 60px to 100px. That should push everything down far enough to reveal your header.

    Thread Starter katyasandom

    (@katyasandom)

    I’ve tried that earlier too, but it seems it just takes out a big chunk out of my content…
    Also I just noticed that as soon as define #allowed position as fixed, its width gets all weird and the border continues all the way to edge, when it should be centered just like the footer. I’m running out of ideas… esmi what do you think?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fixed sidebar and header’ is closed to new replies.