Switching Grid to RTL (right-to-left) for Arabic-based website

Viewing 2 posts - 1 through 2 (of 2 total)
  • #18396
    Mike100
    Participant

    Great theme!! Many thanks!!!

    I am trying to use this great theme with an Arabic-based, RTL website: http://www.mar7ab10.com/

    So far so good and with minimal CSS work it looks fantastic.
    However, I would be very happy to set the masonry grid to RTL as well, such that the most recent post shows up at the top right corner instead of top left corner.

    I am not an expert on JS and masonry but, on a different site, I made the following change that worked flawlessly:
    Change from:

     $container.masonry({
       itemSelector : '.grid-box',
     });

    To:

     $container.masonry({
       itemSelector : '.grid-box',
       isOriginLeft: false
    });

    But in Pinboard I couldn’t find this script.
    Can you please help?

    Thanks!

    #18401
    Daniel Tara
    Keymaster

    You can find the call in functions.php. The itemSelector is .hentry

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

Tagged: , , ,

You must be logged in to reply to this topic.