Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49120

How to change color of tabs?

$
0
0

@David101 wrote:

I wish to change the active colour of my tabs to a custom one.
I also would like to change the colour of the icons if possible.

Currently the tab I am on is the color positive and the rest of the tabs are grey.

Here is what I have so far:

tabs.html

<ion-tabs class="tabs-icon-top tabs-color-active-positive">

 <!-- Home Tab -->

 <ion-tab title="Home" icon-off="ion-home" icon-on="ion-android-home" href="#/app/home">
    <ion-nav-view name="app-home"></ion-nav-view>
  </ion-tab>

CSS:

 .tabs-color-active-positive, .tabs {
color: #c49137 !important;

}

I have tried to mess around with the css, but nothing I seem to do works..

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49120

Trending Articles



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