Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi,

    It is possible, please go to Mega Menu > Menu Themes > Custom Styling and add the following:

    (I am attempting to paste in some code but the new gutenberg editor has decided to not let me paste. I will try in a follow up reply)

    Regards,
    Tom

    Plugin Author megamenu

    (@megamenu)

    @include mobile {
    /* The next code block adds a close button to the slide in mobile menu, change color, font-size and use left or right to position it */
        #{$wrap} .mega-menu-toggle.mega-menu-open + #{$menu}:after {
            content: '\f158';
            font-family: 'dashicons';
            font-size: 30px;
            margin: 0;
            display: block;
    	right: 10px;
    	top: 0;
            cursor: pointer;
            color: white;
            position: absolute;
        }
    }
    Thread Starter xbaeza

    (@xbaeza)

    Works wonderful!

    Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Button to close side bar menu’ is closed to new replies.