WordPress.org

Support

Support » Plugins and Hacks » Disabling background/Background Manager completely for mobile and tab

Disabling background/Background Manager completely for mobile and tab

  • Hey there,
    My website is http://biskuvigaming.com and I’m having a great time with Background Manager (timed changing backgrounds, every game review hving it’s own background etc.) but I have a problem. I want to disable Background Manager and backgrounds for mobile and tab versions as they slow down the website because of the heavy Javascript use. Only desktop users should be be able to see the backgrounds. How can I do this? Thanks for help. I’m using Gonzo 1.8.2, it’s a responsive theme.

    http://wordpress.org/extend/plugins/background-manager/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author myatu

    @myatu

    Hello,

    Sorry for the delay in responding. Currently it isn’t directly supported by the plugin, however, I am working on making this an option (along with better support for media-dependent images, ie., smaller downloads for low resolution devices).

    However, it would be possible to do this yourself with some JavaScript programming, if you are able to do so. I’ll gladly help where I can if you take this path.

    Myatu,

    I have the same request. I am using WPTouch Pro for the mobile site and I have the option of adding custom JS or code. Any idea what I might be able to put in there to disable the Background Manager plugin?

    SamSnow

    @samsnow

    Same problem here!
    This plugin is great but can’t be used on a small device or on a slow computer.
    We might used this topic (http://wordpress.org/support/topic/responsive-design-6?replies=5) but it hasn’t been finished.

    ambradesign

    @ambradesign

    Hi Myatu, any update on this? It would be a great add-on for this already incredible plugin!

    Plugin Author myatu

    @myatu

    Hi,

    Unfortunately progress of updating Background Manager to include this feature is going slow, mainly due to time constraints.

    However, if one feels inclined to venture into coding their own solution, then you may wish to look in the background-manager/resources/views/pub_footer.html.twig file.

    Although this applies to the Full Size mode only, you will see that there’s a JavaScript call to “addTopImage”. You could combine this with a JavaScript provided by Detect Mobile Browsers, to stop it from executing on mobile devices.

    I would like to put in my request for this too. I’ve had a very difficult request from a client and Background Manager was the only solution, so I am grateful.

    Actually, I need to turn it off for mobile/responsive and also have a way to have the image move with the rest of the content a la:

    Home

    If some $$$ would help you move this along, I’m game. You deserve it for the basic plug in, let alone custom work, so lets talk if you think either of these are something you might have time for soon…

    You can mail be direct at design@andarta.com if that helps.

    Many many thanks.

    BTW, http://www.princevilleranch.com is the drupal site I’m trying to emulate in WordPress — here’s the work in progress with background manager enabled:

    http://princevilleranch.com/new/

    Forget to ck notifiy — no new info here. 😉

    Plugin Author myatu

    @myatu

    Hello,

    I see what you mean – there’s no transition effect on the “Normal” background layouts.

    You might be able to accomplish it in Full Screen mode by overriding the class “.myatu_bgm_fs” using a Cutom Stylesheet, although I have not tested this.

    You would need at least:

    .myatu_bgm_fs {
      position: absolute !important;
    }

    This would keep the background in place with scrolling, but keep in mind the potential “wonkiness” when it comes to resizing the browser window.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disabling background/Background Manager completely for mobile and tab’ is closed to new replies.