WordPress.org

Ready to get started?Download WordPress

Forums

Background Manager
Deactivate plugin for certain display resolutions (4 posts)

  1. Sophiamolino
    Member
    Posted 8 months ago #

    Hi there!

    I would like to deactivate to plugin (with the result to not have a background) at certain display resolutions. So in the CSS I would use a code like:

    @media all and (min-width:240px) and (max-width:478px) { ....

    How can I stop the background from running in this CSS?

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

  2. Lucas Karpiuk
    Member
    Posted 8 months ago #

    Hi Sophia,

    It looks like this might be enough to do the trick, looking at the demo site the plugin provides:

    #myatu_bgm_img_group { display: none; }

  3. Sophiamolino
    Member
    Posted 8 months ago #

    Thanks Lucas! But it's not really working, unfortunately.

    Thanks for the help. Hope someone else knows how to do it?

    Have a great christmas you all!

  4. myatu
    Member
    Plugin Author

    Posted 8 months ago #

    As noted by Lucas, within the @media section, you would have to apply a display: none !important; on either .myatu_bgm_fs or #myatu_bgm_img_group.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.