Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cant create background for pages in IONIC

Hi

I have a background that I want to apply to all pages. I have set the css of the content area in the Index page. However it does not pull through to the underlying Pages.

When I set the page css on individual pages it works.

Please provide syntax that will work when doing this on the index page.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Cant create background for pages in IONIC

Hello Deon,

Please add a custom CSS class "myView" to the element aio-empty-screen on the index page and add a CSS to the custom CSS file:
pre.myView .aio-empty-screen{
background:red;
}/pre

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cant create background for pages in IONIC

Perfect, thank you.

Return to “Issues”