How to change the color of a menu item [closed]

You have to right click to the element you want to change color, then you will Inspect Element to know its ID, once you know the ID you have to add custom CSS changing the color of that item like this: #menu-item-391 a { color: red; } You can use hex code for the color … Read more

Reverse the order of and in a wp_nav_menu

<ul> <a> <li></li> </a> </ul> Is not valid HTML. An <a> tag cannot be a child of a <ul> tag. So what you’re asking for isn’t possible. It’s not your actual problem either. Your problem is a styling problem. If you want a larger touch target on the link, you need to add padding around … Read more

How to change menu structure?

Customizing menu markup can only be accomplished by adding a WordPress filter and using your own, custom menu template. Unfortunately, menus are not a part of the WordPress template hierarchy so you need to do something like this: add_filter( ‘wp_nav_menu’, function( $nav_menu, $args ) { if( ‘my_custom_menu’ == $args->menu->slug ) { // include a template … Read more

How to I know the class or ID of my theme?

I have just noticed you have solved your problem after I wrote this answer. I’m posting it anyway for future visitors. Various web browsers have an “Inspect” function built in, for example; Firefox, Google Chrome, Chromium, Bravve etc. How to Inspect pages Load up the page you want to examine in an appropriate web browser … Read more

Submenu page buttons are blank

It’s a problem in the generated CSS. This rule is adding a color: #fff to your menu links: .ast-theme-transparent-header .main-header-menu .menu-link, You can overwrite this rule in your CSS file and links will be visible. Check it out (the second CSS block): There you go! 🙂