Moodle for mobile

Background images not displaying on app

 
Picture of Georgi Samaras
Background images not displaying on app
 

I am currently working on customizing the mobile app with small style changes via CSS.  All of my color changes work fine, but when I attempt to add a background image to a class, the image does not show.  The classes I worked with were .bar-content and .bar-side-menu.

I used the slideshow at https://www.slideshare.net/DaniPalouSala/creating-moodle-mobile-remote-themes-moodle-moot-us-2016, specifically page 12, to double check my CSS, even going so far as to copy it exactly (changing the image URL, of course).  If I add my image as content instead of background like on page 13, it shows.  That tells me my image path is correct, at least.

I only have iDevices and my desktop environment on which to test.  Background images work on the desktop environment only after adding !important.  I have read that certain mobile devices have an image size/dimension limit, but my image is fairly small.

Is there something I'm possibly overlooking?

 
Average of ratings: -
Picture of Juan Leyva
Re: Background images not displaying on app
Core developersMoodle HQParticularly helpful MoodlersPlugin developersTesters

Hi,

I've created this issue: https://tracker.moodle.org/browse/MOBILE-2364

I think that is related to what is happening to you, could you try the workaround mentioned in the issue?

 
Average of ratings: -
Picture of Georgi Samaras
Re: Background images not displaying on app
 

I'll review the workaround and post any additional comments on the tracker.  Thanks!

 
Average of ratings: -