• Resolved danishmuneer

    (@danishmuneer)


    Hi

    I would like to dequeue the frontend CSS added by the plugin. I will add my own CSS for the menu images for performance and design reasons. Is there a way I can wp_dequeue_style the menu-image.css in the functions.php?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Hi @danishmuneer,

    The current CSS is less than 1kb but use the following code to dequeue the Menu Image CSS.

    Add it to the functions.php of your child theme.

    add_action( 'wp_enqueue_scripts', 'dequeue_menu_image_style', 11 );
    
    function dequeue_menu_image_style() {
        wp_dequeue_style( 'menu-image' );
    }

    Let me know if it worked.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Will close the topic for now. Let me know if necessary.

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

The topic ‘Dequeue menu-image.css’ is closed to new replies.