Skip to content

Instantly share code, notes, and snippets.

@siamkreative
Last active August 29, 2019 09:43
Show Gist options
  • Save siamkreative/9b284cee4e2952ce020e301d3704c812 to your computer and use it in GitHub Desktop.
Save siamkreative/9b284cee4e2952ce020e301d3704c812 to your computer and use it in GitHub Desktop.
```php
<?php
// Specific style for iPhone
if( $detect->isiOS() && !$detect->isTablet() ) {
// This fixes position of the bottom bar on iOS 12.4 and above
echo "<style type='text/css'>#nm5viewBtmHolder { position: fixed; bottom: 0; width: 100%; }</style>";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment