Incorrect spacing for admin bar on Academica theme on mobile devices
There's a buffer of 45 pixels on mobile view of Commons pages.
#4 Updated by Boone Gorges about 3 years ago
- 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