Adjusting department menu dropdown items icons without layout falling apart

Solved3 replies3 participantsUpdated by Tony Rodriguez

  • Avatar: Hangato
    Hangato
    Participant

    Greetings,
    I’m trying to modify size of images displayed next to dropdown menu items, however when I try to use CSS to do that as said in https://www.8theme.com/topic/how-to-change-department-menu-icon-sizes/ text gets pushed to the right with huge gap inbetween, no matter what percentage I type in CSS. How can I change that?

    Please, contact administrator
    for this information.

    3 Answers

    Avatar: Justin
    Luca Rossi
    Support staff

    Hi @Hangato,

    Please try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    .etheme-elementor-nav-menu-item-icon {
        flex-basis: 40px;
    }
    .etheme-elementor-nav-menu-item-icon img {
        max-width: 100% !important;
    }
    

    Kind regards,
    The 8Theme Team

    Avatar: Hangato
    Hangato
    Participant

    Thanks for the support! My topic “Adjusting department menu dropdown items icons without layout falling apart” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear Hangato,

    It’s great having you in the WordPress & WooCommerce community!

    Every insight you share helps us refine XStore and build tools that empower thousands of online store owners worldwide.

    Together, we grow stronger with every release.

    Topic closed.
    The 8Theme Team

The issue related to '‘Adjusting department menu dropdown items icons without layout falling apart’' has been successfully resolved, and the topic is now closed for further responses