v2.6.4 - Mobile sticky fix, heading removal, layout fixes
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:
bodyis nowdisplay: 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-contentdiv withoverflow-y: autoand-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: 16pxto#lstats-appto restore spacing below the sticky bar - Added
padding-left: 20px; padding-right: 20pxto.wrap— WordPress default left/right padding was being lost when explicitpadding-topwas applied
Upgrade
Download wp-visitchart.zip below and replace the existing plugin files. No database changes required.