Page 1 of 1

CSS background not appearing

Posted: Sun Nov 22, 2015 12:17 pm
by David wyatt

Hi,

Im using CSS to show a background image on a grid. While building the app the css shows the background image but as soon as i test it it doesnt appear.

this is my css

.bg{
background-image: url("../image/topbg.png")!important;
background-size: 100% 100%;
}

and screenshots of what i see during build and test Image Image

thank you


CSS background not appearing

Posted: Sun Nov 22, 2015 12:39 pm
by Serhii Kulibaba

Hello David,

Please clarify, did you upload a topbg.png file with the Media Manager or by changing sources?


CSS background not appearing

Posted: Sun Nov 22, 2015 12:40 pm
by David wyatt

Hi Sergiy,

I uploaded through media manager

thank you


CSS background not appearing

Posted: Sun Nov 22, 2015 12:49 pm
by Vinny B

isnt the URL ../img/topbg.png ( img ) not (image) in version 3.0 Cordova


CSS background not appearing

Posted: Sun Nov 22, 2015 3:10 pm
by David wyatt

Hi Vinny B,

That's done the trick, big thank you

Dave