Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    Hi!

    Nice how the tiles sit at the top of your site.

    Do you mean the animation when the tiles are first loaded? This happens because the layout for the tiles is generated in javascript after the page has loaded. Unfortunately, that’s part of how the plugin works. 2 solutions:

    1. Pre-set the container height using CSS.
    WP Tiles will override this height after rendering, so if the screen size demands a different height, things will still be fine. On normal screens this will make sure that your layout doesn’t ‘slide down’. Add something like this to your stylesheet for this solution:

    .home .wp-tile-container {
        height: 214px;
    }

    2. Don’t use WP Tiles
    If you only want to show the tiles at the top of your front page, WP Tiles may not be the most ideal solution – all the more because it won’t take a lot of effort to create the layout at the top of your page manually. This of course depends on the budget / time for your website and your coding skills.

    Not to discourage you from using my plugin of course πŸ˜‰ You should probably play around with fix 1, and if you are staying with this layout perhaps in time replace it with a simple javascript-less solution.

    Let me know if this answers your question!

    Cheers,
    Mike

    Thread Starter mbieganski

    (@mbieganski)

    Hi Mike,

    It answered, thanks for help.

    The reason of slow animation/loading problem was a bit different, I’ve fixed it a few hours after posting my question. Shame on me, but I’ve missed image size option, thus large images have been loaded to tiles gallery. No matter how cool JS/CSS is, if I try to load 7 images, 2800 px width each, it would never look good :))))

    Cheers,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘strage loading’ is closed to new replies.