I'm trying to change the tab style for tabBox in shinydashboard. I was able to change the background of the tabs that aren't selected, but I can't change the background of the tab that is selected or the text that appears in each tab. This is what I added to a custom.css file to change the unselected tab backgrounds:
.nav-tabs {
background-color: #006747;
}
I tried stuff like .nav-tabs .active but I couldn't get anything to work.
Also if anybody knows how to change the small colored sliver that appears next to your selected tab, that would be appreciated also.
.nav-tabs?, i mean, i have something likebox(width =3,....)which place should i add this? - Rafa Barragan.nav-tabsisn't actually R code, it's CSS I believe, which I don't understand and can barely mimic. Because it's not R code you don't actually add it to your R file or any of the functions such asbox. You have to create a .css file and call it into your application. I'm not sure how to do custom formatting for each box element because I did global changes. Here's a website to help http://shiny.rstudio.com/articles/css.html - stat_student