Page 1 of 1

How To Set The Background Color of the Content part of an IONIC page

Posted: Mon Jun 22, 2020 2:21 pm
by Andy Parker

Hi Team,

any idea how to set the Page/Content area of the IONIC4 page please?

I've tried setting the class to the following, but no joy.

.stdBackground {
background: linear-gradient(#caf0cf, white,#caf0cf) !important;
}


How To Set The Background Color of the Content part of an IONIC page

Posted: Mon Jun 22, 2020 2:55 pm
by Andy Parker

typical, figured it out 5 mins after posting:

set this in the SCSS Variables, under themes.....

--ion-background-color: linear-gradient(#caf0cf, white,#caf0cf);


How To Set The Background Color of the Content part of an IONIC page

Posted: Mon Jun 22, 2020 3:04 pm
by Serhii Kulibaba

Hello Andy,

Glad to hear things are sorted out now!


How To Set The Background Color of the Content part of an IONIC page

Posted: Mon Jun 22, 2020 3:18 pm
by Galyna Abramovych

Glad you could figure that out and thanks for sharing this with our community!