Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1284114

    Gallardooo
    Participant

    Hi, I would like to replace the double arrow that appears for nav dropdowns for a single arrow icon, something like this for example: http://fontawesome.io/icon/angle-down/ or this http://fontawesome.io/icon/chevron-down/

    Could you please help me find way to do this?

    Thank you

    #1284217

    Lely
    Moderator

    Hello There,

    Thanks for posting in.
    Please add the following CSS on your child theme style.css:

    .x-navbar .desktop .x-nav li>a>span:after {
        content: "\f107 ";
    }

    Or this:

    .x-navbar .desktop .x-nav li>a>span:after {
        content: "\f078";
    }

    The customizer will remove the slash when you save that’s why it is recommended to add it style.css of your child theme.

    #1284295

    Gallardooo
    Participant
    This reply has been marked as private.
    #1284315

    Thai
    Moderator

    Hi There,

    You can add the following CSS under Customizer > Custom > Global CSS:

    .x-navbar .desktop .x-nav li>a>span:after {
        content: "\\f107 ";
    }

    Hope it helps 🙂

    #1285268

    Gallardooo
    Participant

    Hi Thai, I tried placing the code under custom > global css without the double dash (\\) and it worked 🙂 Should that be fine?

    #1285627

    Prasant Rai
    Moderator

    Hello Gallardo,

    Thanks for writing in!

    Have you used single \? If you have used single \ then it’s fine. Your final code should look something like this:

    .x-navbar .desktop .x-nav li>a>span:after {
        content: "\f107 ";
    }

    Thanks.