Support » Plugin: WPGlobus - Multilingual Everything! » Right-to-left support for menu bar

  • Resolved ivanthung1

    (@ivanthung1)


    Hi,
    Is it possible to flip the direction of the menu items, for example when translating a website to Arabic.
    I understand it is possible create a whole new menu in the paid version — but I was wondering if simple right-to-left support for the menu is also available in the free version,

    thanks in advance for the response,
    Ivan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Alex Gor

    (@alexgff)

    Please read
    https://wpglobus.com/faq/rtl-languages/

    • This reply was modified 1 year, 7 months ago by  Alex Gor.

    @ivanthung1

    As far as I know, the theme should be responsible for RTL. Have you checked if there is a CSS “direction:rtl” rule applied to the menus in your theme?

    Also, you can add your own CSS rule via the WPGlobus Settings Panel.

    Thank you!

    Hi Gregory, thanks for the reply.

    Can you explain what you mean with that the theme should be responsible for RTL?

    The point is that in the English menu, it should be LTR, and it the Arabic menu RTL. Are you suggesting that I should tweak the CSS somehow to make this possible?

    second point:
    I understood that the custom CSS is only of the language selector, or can it apply to the whole menu?

    thanks!

    The custom CSS in WPGlobus will be applied to the entire site. It’s just additional CSS rules, and you can do anything you need there.

    When you switch to ar, do you see that the whole site is RTL, and just the menu is not? Or the problem is only with the language switcher?

    Hi, thanks,

    I am using the twenty-fifteen theme, which as a rtl.css
    So, I added the following code to the CSS:

    #navigation {
        direction: rtl;
    }

    This basically moved the menu bar from the left to the right side, which is nice.
    However, it also changes the menu direction both in the English and the Arabic version.

    Furthermore, what I am looking for is actually swapping the menu items, so that the first menu item in En, becomes the last menu item in Ar. Do you have any suggestions for this?

    regards,
    Ivan

    • This reply was modified 1 year, 7 months ago by  ivanthung1.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Right-to-left support for menu bar’ is closed to new replies.