Styling issues


#1

I have just started using Ionic and so far so good.

I have used the sidemenu started template and am trying to change the background color of the sidemenu to a darker color.

I have got the following in place:

<ion-side-menu side="left" class="is-dark">...</ion-side-menu>

With a darker background color being set in the CSS file.

When I view the project in a browser it appears fine. When testing on an Android device it works and looks fine the first 1-3 times the app is opened, then it somehow reverts back to white.

Another slight issue I am facing is trying to centralize the logo in the top bar. I currently have:

<ion-nav-title>
  <img src="img/logo.png">
</ion-nav-title>

Again, this appears fine and centered in the browser, but left aligned on an Android device. I have tried all kinds of CSS on this to no avail.

Any help anyone can offer would be much appreciated.

Thanks.