CSS background not appearing

This forum contains topics that were moved from Get Satisfaction
David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

CSS background not appearing

Post 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

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

CSS background not appearing

Post by Serhii Kulibaba »

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

Post by David wyatt »

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

Post by Vinny B »

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

Post by David wyatt »

Hi Vinny B,

That's done the trick, big thank you

Dave

Post Reply