WordPress.org

Ready to get started?Download WordPress

Forums

WP Tiles
[resolved] small_screen_template always enabled (2 posts)

  1. tylerjfrags
    Member
    Posted 10 months ago #

    Hi there,

    Having trouble with small_screen_template always being enabled.

    Even when modifying the activating width to 900px (for example) its still active on a full width hd screen (1200px)

    I've tested this and even passed the name of a different template into the shortcode, ie, [wp-tiles template="News"] and the small screen template is still enabled!!

    Any help would be grately appreciated as I want to enable the small screen template for phones and tablets!

    http://www.thenoisegate.com

    http://wordpress.org/plugins/wp-tiles/

  2. Mike
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Tyler,

    The settings for small screen is based on the width of the element WP Tiles sits in. In your case, this is based on the parent div#container, that gets its width from Bootstrap (minus your sidebar, WP Tiles sits in 9/12th of that space). On my screen that's 720px, and when I reduce my browser width, it stays there for quite a bit, as the sidebar drops away at some point.

    To disable the small screen template altogether, set it to 0. If you want to use it, set it to something under, say 600px, so it really only kicks in for mobile screens.

    Cheers,
    Mike

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.