David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

CSS background not appearing

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

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

CSS background not appearing

Hello David,

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

David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

CSS background not appearing

Hi Sergiy,

I uploaded through media manager

thank you

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

CSS background not appearing

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

David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

CSS background not appearing

Hi Vinny B,

That's done the trick, big thank you

Dave

Return to “Issues”