Hi all,
With the below code, I am getting the default colour as grey (main page). Is there a way to change this white instead of grey?
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody()
)
server <- function(input, output) { }
shinyApp(ui, server)
noveld
2
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(
tags$head(tags$style(HTML('
.content-wrapper {
background-color: #fff;
}
'
)))))
server <- function(input, output) { }
shinyApp(ui, server)
See:
https://rstudio.github.io/shinydashboard/appearance.html#css
Perfect and thanks a lot.
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.