Skip to content

v2.6.4 - Mobile sticky fix, heading removal, layout fixes

Choose a tag to compare

@hummelmose hummelmose released this 01 Aug 20:58
· 13 commits to main since this release

WP VisitChart v2.6.4

Mobile sticky bar fix, heading removal, and layout fixes.


v2.6.0 — Fix: sticky live bar not working on Chrome Android

The position: fixed sticky bar was scrolling away with the page on Chrome for Android due to the browser's dynamic URL bar behaviour.

Replaced position: fixed with a proper flex layout:

  • body is now display: flex; flex-direction: column; height: 100vh; overflow: hidden
  • The sticky bar has flex-shrink: 0 — it never participates in scrolling
  • All page content sits in a .scroll-content div with overflow-y: auto and -webkit-overflow-scrolling: touch

Works correctly on Chrome Android, Safari iOS, and all desktop browsers.


v2.6.1-2.6.2 — Remove page heading

Removed the 'Live besøgende og dagens trafik' heading from both the admin dashboard and the mobile page. Added padding-top: 16px to .scroll-content on mobile to maintain consistent spacing above the first card.


v2.6.3-2.6.4 — Admin layout fixes after heading removal

  • Added margin-top: 16px to #lstats-app to restore spacing below the sticky bar
  • Added padding-left: 20px; padding-right: 20px to .wrap — WordPress default left/right padding was being lost when explicit padding-top was applied

Upgrade

Download wp-visitchart.zip below and replace the existing plugin files. No database changes required.