• Resolved eslambro

    (@eslambro)


    The plugin works all good with the website,

    I’ve 2 languages, English (LTR) and Arabic (RTL)

    When I choose the Arabic language the website mirrors because its RTL and this is perfect.

    only the items inside the Main Nav doesn’t mirror

    The CSS needs to be

    
    #main-nav > ul > li {
        float: left;
        padding: 0 8px;
    }
    

    when using the arabic language.

    how can I do this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello,

    The actual theme is responsible for showing RTL languages, not the plugin, so as long as you have a theme that supports RTL you should be fine.

    Also, make sure to not set a type of alignment directly from your back-end. There are changes that your additional language content to be altered.

    As for your question.

    You can use our CSS class to restrict the code only to a language.

    E.g. 
    translatepress-ar #main-nav > ul > li {
        float: left;
        padding: 0 8px;
    }

    !This will do the changes only to the Arabic language!

    You can identify the needed ISO code to input after the: “translatepress-“inputcode”” in the general Tab of TranslatePress.

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Menu doesn’t switch the Ul and LI to RTL’ is closed to new replies.