Mobile Container Background - shows in Web Test but not in App

Hi,

I'm using the following code to set a background image to the MobileContainer in my app.

This works for the preview using the browser, but does not work within the native app or using The "appery.io tester".

Tiggzi('mobilecontainer').css('background-image','url("' + Tiggzi.getImagePath('motorway_cam_watch_background.png') + '")');
Tiggzi('mobilecontainer').css('background-repeat','no-repeat');
Tiggzi('mobilecontainer').css('background-size','cover');

The mobile container is actually called mobilecontainer1 in the app, but if I use that it doesn't work in the browser either...

Can you help please?

regards

Andy
1 person has
this problem
+1
Reply