• Resolved Volodymyr

    (@namzzz)


    Hello!

    I use WP_nav_menu to output some menus in footer. Each menu link is styled with help of certain class which is assigned like shown in code below. But when plugin is active, certain class is removed and style is absent. Is there a way to stop plugin doing it or maybe a some override?

            <?php
    
                wp_nav_menu(
    
                    array (
    
                    'theme_location' => 'footer_for_customer',
    
                    'menu' => 'footer_for_customer',
    
                    'menu_class' => 'menu-list',
    
                    'container' => 'div',
    
                    'container_class' => 'col-12 col-md-4 col-lg-3 order-first',
    
                    'before' => '<li class="menu-list__item">',
    
                    'after' => '</li>',
    
                    'link_class' => 'menu-list__link',
    
                    )
    
                );
    
            ?>

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Anca

    (@ancavictoria)

    Hello there,

    Could you tell me which plugin you are using to style the menu?

    Best Regards,

    Anca

    Thread Starter Volodymyr

    (@namzzz)

    Hello Anca,

    I don’t use any plugins to style anything. Menu is made of HTML elements with assigned classes and styled with pure CSS.

    Plugin Support Anca

    (@ancavictoria)

    Hello,
    I am sorry about the confusion. We would like to see how the menu appears on your website but your URL is locked.

    Can you please remove the login so we can check the page out?

    Best Regards,

    Anca

    Thread Starter Volodymyr

    (@namzzz)

    It’s open now, you’re welcome.

    Thread Starter Volodymyr

    (@namzzz)

    Problem is resolved. It was my mistake, sorry for inconvenience.

    Thank you)

    Plugin Support Anca

    (@ancavictoria)

    Hello there,

    Thank you for the feedback!

    I’m here for you if anything else comes up.

    Best Regards,

    Anca

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP_nav_menu link_class removed when plugin is active’ is closed to new replies.