Project

General

Profile

Actions

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.

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

0%

Estimated time:
Deployment actions:

Description

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


Files


Related issues

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

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

Actions
Actions #1

Updated by Boone Gorges about 6 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?

Actions #2

Updated by Boone Gorges about 6 years ago

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

Updated by Boone Gorges about 6 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

Actions #5

Updated by Boone Gorges about 6 years ago

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

Also available in: Atom PDF