I’ve cut/paste the action that controls the ‘wp_nav_menu_item_custom_fields’ into my child theme’s functions.php, allowing me to create my own menu styles, adding them as additional style options.
However, whilst my modifications seem to work, I realize the footer menu completely ignores the custom menu styles set. Can you advise how to allow the footer menu to utilize the menu styles?
Hey edwardrmiller,
You can simply target the menu with css, why do you need to use code?
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
Victoria
I want to add different styled links to the footer menu. Therefore, I need a way to add specific styles to specific menu items. Whilst this is possible in the header, for some reason, it does not apply to the footer menu.
I know I could target specific links using nth-child but it would be a lot easier if I could add styles using the same method that you can add styles to menu items for the header e.g. ‘default’, ‘button color’, ‘button-colored-border’.
Hi edwardrmiller,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
Victoria