Title: Portable Bug?
Last modified: August 22, 2016

---

# Portable Bug?

 *  Resolved [andrewlc](https://wordpress.org/support/users/andrewlc/)
 * (@andrewlc)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/portable-bug/)
 * When viewing my website on a portable device like an iPhone the WordPress bar
   on top moves up and then the top menu from the Spot theme stays where it is. 
   So you end up with something like this:
 * [Page ] – the width of the WordPress top bar.
    [Header ] [Page

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [andrewlc](https://wordpress.org/support/users/andrewlc/)
 * (@andrewlc)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/portable-bug/#post-5599629)
 * Update:
    [Page] I meant Height of the WordPress Top/Admin Bar. [Header] [Page
 *  Theme Author [Tim Nicholson](https://wordpress.org/support/users/timnicholson/)
 * (@timnicholson)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/portable-bug/#post-5599684)
 * Hmm, that pesky WordPress admin bar that insists on sitting at the very top. 
   I think they changed the way it works where on a smartphone it inserts itself
   on top, but then doesn’t “stick” there.
 * Thinking through how this should work, I assume most registered users would have
   that admin bar turned off unless they really were site admin and wanted to see
   it all the time.
 * So we should probably go ahead and override that admin bar on smartphones to 
   fix itself to the top, just like it does for every other browser size.
 * Here’s the fix:
 *     ```
       @media screen and (max-width: 600px) {
           #wpadminbar  {
               position: fixed;
           }
       }
       ```
   
 * Thanks so much for pointing this out! I’ll include the fix in the next round 
   of updates to all my themes with fixed navbars.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Portable Bug?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spot/1.5/screenshot.png)
 * Spot
 * [Support Threads](https://wordpress.org/support/theme/spot/)
 * [Active Topics](https://wordpress.org/support/theme/spot/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spot/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spot/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tim Nicholson](https://wordpress.org/support/users/timnicholson/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/portable-bug/#post-5599684)
 * Status: resolved