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

Change tab colors ionic conference app

$
0
0

@AIBug wrote:

i am trying to change the active tab colors (icon or background) for the ionic conference app. I’ve tried everything i could find. Does anyone know why they won’t change? Here is the tabs code…

html

<ion-tabs>
  <ion-tab-bar slot="bottom">
 
  <ion-tab-button tab="about">
    <ion-icon src="/assets/img/ChurchLogoIcon2.svg" ></ion-icon>
    <ion-label>Home</ion-label>
  </ion-tab-button> 
       
    <ion-tab-button tab="schedule">
      <ion-icon name="calendar"></ion-icon>
      <ion-label>Calendar</ion-label>
    </ion-tab-button>
 
    <ion-tab-button tab="speakers">
      <ion-icon name="people"></ion-icon>
      <ion-label>Pastors</ion-label>
    </ion-tab-button>

    <ion-tab-button tab="stuffs">
      <ion-icon name="happy"></ion-icon>
      <ion-label>Activies & More</ion-label>
    </ion-tab-button>
  </ion-tab-bar>

</ion-tabs>

scss

.tabbar {
  justify-content: center;
}

.tab-button {
  max-width: 200px;
}

.activated {
  background-color: rgb(235, 4, 4);

}

the “.activated” does nothing at all…

Thanks for taking a look if you happen to gaze by :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



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