Bug #10367
closed
Incorrect spacing for admin bar on Academica theme on mobile devices
Added by Lisa Rhody about 6 years ago.
Updated about 6 years ago.
Category name:
WordPress Themes
Description
There's a buffer of 45 pixels on mobile view of Commons pages.
Files
- Status changed from New to Reporter Feedback
This is not globally true. Could you please give the URL of the site you're testing?
- Has duplicate Bug #10366: Top Padding Causing Issue on Mobile Display added
- Subject changed from mobile view to Incorrect spacing for admin bar on Academica theme on mobile devices
- Category name set to WordPress Themes
- Status changed from Reporter Feedback to Resolved
- Target version set to 1.13.10
Thanks for the details. This is a bug in the Academica theme. When using a nav menu, Academic uses some JS to create the mobile hamburger menu. This JS changes the markup of the page so that the parent element of the WP admin bar is changed; this, in turn, breaks the `position: absolute` declaration that keeps the admin bar at the top of the screen. I've written a bit of CSS to work around this problem. https://github.com/cuny-academic-commons/cac/commit/09557dce76656b6bd12ef7f24c073542d5df4e07
Also available in: Atom
PDF