Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Css/scss changes display in ionic serve but do not persist in ionic build for iOS

$
0
0

@zamorisima wrote:

Currently running Ionic v 3.20.0. I made some simple background color changes for the navbar of the project which can be seen in the snapshot below.

in src/pages/home/home.html, I have the following markup:
<ion-header>
  <ion-navbar class="toolbar toolbar-background-md" style="height: 64px;">
...
</ion-navbar>

In app.scss, I define the toolbar styling properties:

ion-navbar > .toolbar {
// min-height: 50px !important;
height: 64px !important;
text-align: left !important;
background: #336279 !important;
}

.toolbar-background-md {
background: #336279;
}```

When I run _ionic serve_, the changes appear.  However, when I run _ionic cordova build ios --prod_, the navbar > .toolbar background color stays #f8f8f8, which was the previously set before I took on this project.

I have no idea what is going on.  Any ideas?  Gracias.
![45%20PM|689x444](upload://rPgNbUTUFYgIQWLpaCpEBeyMwKZ.jpg)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>