Add space between text and icon in the menu

Home Forums Jevelin Theme Add space between text and icon in the menu

Home Forums Jevelin Theme Add space between text and icon in the menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • Cakelab
    Participant

    Hey there, I got another question..

     

    Is there a way to add a bit of space between the text and the icons in the header menu? It works great in the English version of the site, but not in the Hebrew version.

     

    Sample URL:

    https://cake-lab.org/ארכיון/

    Attachments:
    You must be logged in to view attached files.

    Solution for this topic

    Hi @Cakelab,

     

    I hope you are well today and thank you for your question.

     

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    html[dir="rtl"] .sh-nav li.menu-item-has-children > a:after,
    html[dir="rtl"] .sh-nav li.menu-item li.menu-item-has-children > a:after {
         margin-left: 0;
         margin-right: 8px;
     }

     

    Best regards,
    Shufflehound team

    Cakelab
    Participant

    Thanks!

     

    This fixed the arrow icons for the mega menu but not the regular icons for all the other text. Is there anything that could be done about them?

    • This reply was modified 5 years, 1 month ago by Cakelab.
    Attachments:
    You must be logged in to view attached files.

    Solution for this topic

    To fix them please also use the below custom CSS code.

     

    html[dir="rtl"] .sh-nav li.menu-item > a.fa:before,
    html[dir="rtl"] .sh-nav-mobile li.menu-item > a.fa:before {
        padding-right: 0;
        padding-left: 8px;
    }

    Cakelab
    Participant

    Seriously, you’re a life saver!

    Thanks so much 🙂

    You are always welcome here 🙂

Viewing 6 posts - 1 through 6 (of 6 total)