Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Wilja

    (@wilja)

    Hi!

    Yes, I see.. but no solution/answer anywhere..?!

    Regards,
    Johanna

    Thread Starter Wilja

    (@wilja)

    Hi again,

    We found the blog masonry script in the file: VIEWS/GLOBAL/_SCRIPT-ISOTOPE-INDEX.PHP?. See below. Could this help in anyway, according to what we have written – that we got from our team developer – earlier, i.e.

    The blog masonry script which is in VIEWS/GLOBAL/_SCRIPT-ISOTOPE-INDEX.PHP (not in the JS files listed previously) requires jQuery to be loaded in the head because it is loaded in the body part. Because of your optimization (grouping and minification), jQuery (combined and minified along with other JS) now is loaded at the very bottom of the page.

    Please load the jQuery in the head and see if the issue persists. You might need to contact the caching / performance developer for this.

    Kind regards,
    Johanna

    <?php

    // =============================================================================
    // VIEWS/GLOBAL/_SCRIPT-ISOTOPE-INDEX.PHP
    // —————————————————————————–
    // Isotope script call for index output.
    // =============================================================================

    $is_rtl = is_rtl();

    ?>

    <script>

    jQuery(document).ready(function($) {

    <?php if ( $is_rtl ) : ?>

    $.xIsotope.prototype._positionAbs = function( x, y ) {
    return { right: x, top: y };
    };

    <?php endif; ?>

    var $container = $(‘#x-iso-container’);

    $container.before(‘<span id=”x-isotope-loading”><span>’);

    $(window).on(‘load’, function() {
    $container.xIsotope({
    itemSelector : ‘.x-iso-container > .hentry’,
    resizable : true,
    filter : ‘*’,
    <?php if ( $is_rtl ) : ?>
    transformsEnabled : false,
    <?php endif; ?>
    containerStyle : {
    overflow : ‘hidden’,
    position : ‘relative’
    }
    });
    $(‘#x-isotope-loading’).stop(true,true).fadeOut(300);
    $(‘#x-iso-container > .hentry’).each(function(i) {
    $(this).delay(i * 150).animate({‘opacity’ : 1}, 500, ‘xEaseOutQuad’);
    });
    });

    $(window).xsmartresize(function() {
    $container.xIsotope({ });
    });

    });

    </script>

    Thread Starter Wilja

    (@wilja)

    Hi Adeel,

    Thank you for your message!

    Yes, this is now resolved!

    Have a nice day!

    Best regards,
    Johanna

    Thread Starter Wilja

    (@wilja)

    Hi!

    Ok, thank you! That sounds good!

    Kind regards,
    Johanna

    Thread Starter Wilja

    (@wilja)

    Hi again,

    Ok, super, thank you!

    We are quite newbies ;)! Are there any other things/settings we should think about/adjust regarding Breeze?

    Regards,
    Johanna & Mikaela

    Thread Starter Wilja

    (@wilja)

    Hi!

    Thank you for your fast reply and help! I managed to change it the way I wanted!

    Kindest regards,
    Johanna

Viewing 6 replies - 1 through 6 (of 6 total)