Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #733750

    Hi, when i’m sorting my masonry element it always aligns to the left – https://www.screencast.com/t/PQYayEoQ1zB – and I want to make it align to the right as default as i’m using an RTL language.

    How can I do that?

    Thanks.

    #733820

    Hey DROR,

    I checked your site but the design appears to have changed?
    Would you mind providing a precise link to the page, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #733953

    Hi Vinay, the URL is fine, you just need to pick the third option and you will see what I mean – https://www.screencast.com/t/b76NmwqrXefX

    Thanks.

    #733979

    Hi,

    1. Please try adding this at the very end of your themes / child themes functions.php file:
    https://kriesi.at/support/topic/rtl-sortedreverse-functions-problem/#post-384172

    2. Add this to Quick CSS:

    .av-masonry {
        padding: 0 50px;
    }

    Best regards,
    Vinay

    #734009

    Hi Vinay, I added both as mentioned but it seems nothing happens. I think the first code you gave me applies to columns and not to the masonry element.

    #735139

    Hi,

    The masonry element is limited to left-to-right layout at the moment. You can replace it with the portfolio grid element if you really need the rtl layout and then follow this link.

    // https://kriesi.at/support/topic/rtl-portfolio-grid-2/#post-714685

    This option was disabled because it doesn’t work well in the masonry element. You can test it by editing the js > shortcodes.js file, look for this code around line 1436:

    methods.applyMasonry(container, false, function()
    

    .. replace it with:

    methods.applyMasonry(container, 'av-masonry-entry', function()
    

    After that, go to line 1245:

    var filters = selector ? {filter: '.'+selector} : {};
    

    .. replace it with:

    var filters = selector ? {itemSelector : '.'+selector, filter: '.'+selector, layoutMode : 'fitRows', isOriginLeft : false} : {};
    

    You’ll see why it is disabled.

    Best regards,
    Ismael

    #735200

    I’ll take your word for it. Do you know if full RTL support will be added in the next theme update?

    #736926

    Hey!

    I’m not really sure about that but you can ask or vote for the feature here.

    // https://kriesi.at/support/enfold-feature-requests/

    Regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.