WordPress.org

Ready to get started?Download WordPress

Forums

WP Tiles
[resolved] scaling not correct on phone (3 posts)

  1. pvwoerden
    Member
    Posted 1 year ago #

    Hi,

    I'm using wp-tiles on my site. The scaling of the tiles is nog working correct on an iPhone. On the right side it goes too far. And when viewing in landscape mode it scales to big.

    See: test.petervanwoerden.nl/peter/verbouw

    On test.petervanwoerden.nl/peter/restauratie I use an other plugin which is not as nice as yours, but there the scaling does work correct.

    Can you tell me how to solve the problem?

    Beste regards,

    Peter

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

  2. Mike
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Peter,

    sorry to hear the plugin isn't working as expected. I had a look at your website, and it seems that your base theme (Gridiculous) also uses the class 'grid' (my bad for using such a generic class name in a plugin - lesson learned!). Anyway, it has a min-width of 320px for the grid element - the container for the tiles. So the rest of your website shrinks nicely, but the tiles stay too big.

    I can't test on a device right now, but this is my best bet: add a css rule to override the min-width for the tiles container, like this:

    .wp-tile-container .grid {
        min-width: initial;
    }

    If that doesn't work, let me know and I'll take a look on a device later!

    Mike

  3. pvwoerden
    Member
    Posted 1 year ago #

    Hi Mike,

    Works great :-). Check it out!

    Thanks,

    Peter

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic