0

Ioslides for Rmarkdown have this gradient background, and I would like it to be solid white.

I tried two different ways to remove the gradient effect using a css file, but neither have been successful.

body {
  background-color: white;
}

slide {
    background-color: white;
}

An online demo of the problem is here:

https://rpkgarcia.shinyapps.io/NISSpresentation2022KurtzGarcia/#1

Lee Taylor
  • 7,761
  • 16
  • 33
  • 49
kpr62
  • 522
  • 1
  • 4
  • 11

1 Answers1

1

The gradient is most notable on slide 7:

enter image description here

You were trying to set the background-color, but it's actually a background-image that has the gradient.

If you add the following css rule

slides slide { background-image: none; }

The gradient is removed:

enter image description here

Lee Taylor
  • 7,761
  • 16
  • 33
  • 49