• Resolved Marouane87

    (@marouane87)


    Hello,

    I’m using Customizr for an RTL site (not yet online). Everything is almost perfect. Meanwhile, the menu doesn’t seem to be inverted. It is still on the left side of the header as you can see in this picture , is there a way to make it on the right please?

    For the search tool, I’ve used this tutoriel , and I just wanted to know if it is possible to make the search extended by default (You don’t have to click on the glass icon to see the search writing space) please?

    Thank you very much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • About rtl menu:
    Have you tried this:
    Customize -> Header: title, logo, menu -> Navigation -> Menu position -> (select) -> Menu on the right ?
    Then if you want also menu items right to left add this to your css:

    .navbar .nav>li {
        float: right;
    }

    About the search box always visible, you have to merge rules

    .my-nav-menu-search .search-field:active,
    .my-nav-menu-search .search-field:focus

    into

    .my-nav-menu-search .search-field

    , with the first ones overriding the last ones.

    Hope this helps.

    Thread Starter Marouane87

    (@marouane87)

    Thank you, it really helped. But there is one problem left, the glass now is in the search form as you can see in this snapshot . Is there any way to fix it please?

    Thank you very much!

    And you want it… where?

    Thread Starter Marouane87

    (@marouane87)

    I’m sorry I didn’t explain better. In the snapshot, the glass is overwriting the first two letters unlike this site for example where the word “search” is next to the glass and does not overwrite the letters.

    Thank you again!

    (I’ve just noticed that if I set wordpress setting to english, the rendering is perfect, but when I set it to arabic, the glass overwrite the letters again).

    It’s about the rtl.
    You should invert some css rules, like this, for example,:

    padding: 0 0 0 36px;

    for .my-nav-menu-search .search-field
    I think should be

    padding: 0 36px 0 0;

    in your case..

    Thread Starter Marouane87

    (@marouane87)

    Worked like a charm, thank you very much!

    hbilbeisi

    (@hbilbeisi)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add a search form and RTL support’ is closed to new replies.