Project

General

Profile

Bug #10367

Incorrect spacing for admin bar on Academica theme on mobile devices

Added by Lisa Rhody about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
WordPress Themes
Target version:
Start date:
2018-09-21
Due date:
% Done:

0%

Estimated time:

Description

There's a buffer of 45 pixels on mobile view of Commons pages.


Related issues

Related to CUNY Academic Commons - Bug #10405: Top nav bar missingResolved2018-09-28

Has duplicate CUNY Academic Commons - Bug #10366: Top Padding Causing Issue on Mobile DisplayDuplicate2018-09-21

History

#1 Updated by Boone Gorges about 3 years ago

  • Status changed from New to Reporter Feedback

This is not globally true. Could you please give the URL of the site you're testing?

#2 Updated by Boone Gorges about 3 years ago

  • Has duplicate Bug #10366: Top Padding Causing Issue on Mobile Display added

#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

#5 Updated by Boone Gorges about 3 years ago

  • Related to Bug #10405: Top nav bar missing added

Also available in: Atom PDF