2
Has a project ionic
and I need to ion-header-bar
only one page has a different background than the rest of the application.
Home ()
<ion-view view-title="Home">
<ion-content id="home" align="center" class="bg-home">
<div class="row bg-green">
<div class="col">
<img src="img/logo-prov02.png" class="login-logo" style="width: 35%; padding-bottom: 5px">
</div>
</div>
<div class="row">
<div class="col col-50" style="padding-top: 15px">
<a href="#/app/create-repass">
<img src="img/icon-repass-green.png" class="login-logo" style="width: 35%; padding-bottom: 5px"><br>
<span class="font-green">Repassar</span><br>
<span class="font-gray">Crie anúncios para repassar seus veículos</span>
</a>
</div>
<div class="col col-50" style="padding-top: 15px">
<a href="#/app/create-preferences">
<img src="img/icon-preferences-green.png" class="login-logo" style="width: 35%; padding-bottom: 5px"><br>
<span class="font-green">Preferências</span><br>
<span class="font-gray">Preferências de busca para achar o veículo certo</span>
</a>
</div>
</div>
<div class="row">
<div class="col col-50" style="padding-top: 15px">
<a ng-click="showSearch()">
<img src="img/icon-search-green.png" class="login-logo" style="width: 35%; padding-bottom: 5px"><br>
<span class="font-green">Buscar</span><br>
<span class="font-gray">Busque veículos em nossa base de dados</span>
</a>
</div>
<div class="col col-50" style="padding-top: 15px">
<a href="#/app/list-user-repass">
<img src="img/icon-favorites-green.png" class="login-logo" style="width: 35%; padding-bottom: 5px"><br>
<span class="font-green">Favoritos</span><br>
<span class="font-gray">Acesse seus anúncios favoritos</span>
</a>
</div>
</div>
</ion-content>
Could someone help me in this process?
It seems, unless mistaken, your css is declared directly in the tags, where the precedence stands out. Even if you define a stylesheet in the head (as in my reply), the rules that will apply, will be those that are directly in the tags.
– MagicHat