Put a X to close the mobile menu - by arnaudonline

This topic has 2 replies, 2 voices, and was last updated 5 years, 7 months ago ago by Rose Tyler

  • Avatar: arnaudonline
    arnaudonline
    Participant
    April 24, 2019 at 20:19

    Hi, I would like to add an X so that users can easily close the mobile menu, how to do?

    I tried things in the Js and PHP but nothing works and I do not want to break my site either.

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 25, 2019 at 08:03

    Hello,

    Please note that additional customization is outside the scope of our basic support.
    Add this code in Theme Options > Custom CSS > Global Custom CSS:

    .mobile-menu-opened .mobile-menu-wrapper:before {
        content: "\e90a";
        font-family: 'xstore-icons' !important;
        position: absolute;
        right: -25px;
        color: white;
        top: 5px;
        font-weight: 900;
    }

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.