Home Forums Weaver Show Posts & Show Sliders show-posts direction

Topic Resolution: Resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #69799
    howardshippin
    Participant

    I am using Weaver Xtreme Plus with the show-posts plugin.

    I have a bilingual hebrew – english site and use “show-posts” to create a grid of posts in 3 columns.

    The columns are populated with posts from left-to-right, regardless of the language / text direction.

    The expected behavior would be that in right-to-left language (like Hebrew), the columns would be populated with posts from right to left.

    Is there a way, maybe through CSS, to get “show-posts” to align right-to-left, please?

    #69801
    scrambler
    Moderator

    The CSS rule below added to the theme Global Custom CSS rule box should do it

    .atw-content-3-col {float:right;}

    If not, post back with the rule in place and give us a link to the site.


    @weaver
    , should the Post order in columns be reversed when a site use RTL layout?

    #69802
    howardshippin
    Participant

    Hi Scrambler: thanks – that does it. (Placed the rule in the custom CSS rule box of the plugin.)

    I was expecting that rule would float also the columns of the English pages to the right, but for some reason, it doesn’t (which is good).

    #69803
    howardshippin
    Participant

    Sorry: it does float the columns of the English pages to the right, after all.  (I must have been looking at a cached version previously.)  Is it possible to write a rule that would hold good for RTL languages, but not for the LTR languages ?  I have tried .atw-content-3-col {float:inherit;} but that doesn’t do it (creates only one column).

    The Hebrew page is https://mindfulness-israel.org/about/

    The English page is https://mindfulness-israel.org/about-2/

    Thanks

    #69823
    howardshippin
    Participant

    any other ideas on this please?

    #69825
    scrambler
    Moderator

    If you want the rule to only apply to rtl pages, change the rule to

    .rtl .atw-content-3-col {float:right;}

     

    #70210
    howardshippin
    Participant

    Thank you Scrambler (saw this only now).  That’s perfect.

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