Remove background image on mobile

Posted in: Newsmag
Post count: 12

Since the mobile version doesn’t show the theme background at all, I’d wish that there is a way to prevent loading it in the first place. Is that possible?

Overruling CSS with { background-image: none; } won’t help, since it will be loaded/transferred in the first place, right?

Thanks!

Post count: 6535

HI

I am not very sure what you means so please provide more specific details about what you’re trying to so I can inspect it closer and get back to you with a more accurate answer.
Thanks!

Post count: 12

Hi Andrei,

Let me try to rephrase: For the desktop site we have a fairly large background photo. The mobile version of Newsmag doesn’t show the background image, but it still get loaded, so it’s a waste of bandwidth and transfer time.

Is there a way to not load the background image at all, on the mobile version?

Post count: 6535

HI

Unfortunately the theme does not have an option to not load the background image for mobile devices. To achieve that are required many customizations and tests in theme’s core files and a possible solution would be using this class: http://mobiledetect.net/ For the moment I can’t provide a solution bet I’ve added this on our todo list and developers will consider it for future updates. This may take some time because we have a long implementation list and we take them one by one.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.