Quantcast
Viewing all articles
Browse latest Browse all 229968

Header not showing up on android

My header menu is not showing up on android. The code is pretty much straight from the sidemenu template from ionic.

<ion-side-menus enable-menu-with-back-views="false">
<ion-side-menu-content>
<ion-nav-bar class="bar-stable">
<ion-nav-title>
<img src="img/logotext.svg" height=42>
</ion-nav-title>
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-buttons side="left">
<button class="button button-icon button-clear ion-navicon" menu-toggle="left"></button>
</ion-nav-buttons>
<ion-nav-buttons side="right">
<img src="img/logo.svg" height=71> </button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-nav-view name="menuContent"></ion-nav-view>
</ion-side-menu-content>

and the css for the header:

.bar.bar-stable {
background-image: url(../../../../img/header_bg.png) !important;
}

It shows up on ionic serve in the browser but when I emulate or build out apk it disappears.


Viewing all articles
Browse latest Browse all 229968

Trending Articles