test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • wnrdesign Friend
    #187647

    Hello,

    We are using the JA Wall site for a customer of ours, but we only use images instead of text. What we want is to use a fixed width of the columns instead of percentage based.

    Our template is getting a lot better if this is fixed (sharper images).

    How can we achieve this?

    Kind regards,

    Wouter

    Wall Crasher Developer
    #495250

    Hi wnrdesign,

    If you want to display a fixed width for JA Wall block, you need to customize a bit.
    The layout with the fixed width block will cause some spaces on the right.

    /* Medium */
    .item {
    width: 300px !important;
    }

    /* Small */
    body.basegrid-s .item {
    width: 300px !important;
    }

    /* Large */
    body.basegrid-l .item {
    width: 300px !important;
    }

    /* X-Large */
    body.basegrid-xl .item {
    width: 300px !important;
    }

    You can define all width value with 300px (or any value you like, just remember add !important to overwrite JA Wall default)

    and change ‘updateContainerWidth’ function in templatesja_walljswall.js (line 90) to:

    updateContainerWidth = function () {
    lastWndWidth = $(window).width();

    var cw = $('#base-blank-item').css('width', '').width();

    $('#base-blank-item').width(cw);

    if ($container.data('basewidth') != cw) {
    $container.data('basewidth', cw);
    updateBrickWidth();
    }

    // reload layout
    reloadMasonry();
    },

    Hope it helps,

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Wall Crasher 11 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum