Okay
  Public Ticket #1163280
Main menu
Closed

Comments

  • teganonline started the conversation

    Hi,

    in the phones ,there are a problem in the menu direction ,because it in an Arabic :  http://www.teganonline.net

    How can i Change his Direction to ltr ?

    Thanks .

  • [deleted] replied

    Hi,

    Can you please add this custom CSS:

    header.mobile-menu ul.mobile-menu > li.menu-item-has-children > a {
    padding-right: 70px;
    }

    header.mobile-menu .search-site .mobile-search-button {
    right: auto;
    left: 0;
    }

    This should work for you.

  •   teganonline replied privately
  • teganonline replied

    I Just want The Menu to Be ltr  In small screen(Phones) to be Resposive.

  • [deleted] replied

    Hi teganonline,

    You haven't added my exact code and that's the CSS code hasn't changed.

    I gave you this CSS code:

    header.mobile-menu ul.mobile-menu > li.menu-item-has-children > a {
        padding-right: 70px;
    }
    header.mobile-menu .search-site .mobile-search-button {
        right: auto;
        left: 0;
    }
    

    and you have added this code:

    header.mobile-menu ul.mobile-menu > li.menu-item-has-children > h4 {
        padding-right: 70px;
    }
    header.mobile-menu .search-site .mobile-search-button {
        right: auto;
        left: 0;
    }
    

    so you have changed "a" with the "h4", and that's why the code didn't worked as it should.

    I changed the h4 to and now everything looks good as you can see:


    (view on new page)

  • teganonline replied

    Thank you very very much .

  • [deleted] replied

    You are welcome, have a great day there.