WordPress.org

Support

Support » Themes and Templates » Writr » [Resolved] Admin bar isn't doesn't stick to the top on small screens

[Resolved] Admin bar isn't doesn't stick to the top on small screens

  • On small screens (max-width: 600px) the admin bar doesn’t stick to the top of the page, this is because at this breakpoint the admin bar switches from position: fixed to position: absolute and since the theme uses position: relative for the body the bar positions itself at the top of the body element not the html.

    http://awesomescreenshot.com/00e29p8m85

    I’m not sure why position relative is used on the body but I removed it on my installation and it works fine so far.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Admin bar isn't doesn't stick to the top on small screens’ is closed to new replies.
Skip to toolbar