WordPress.org

Support

Support » How-To and Troubleshooting » How to control css styles for dynamically created menu items…

How to control css styles for dynamically created menu items…

  • So for instance if I set in my style sheet a right 1px border for my menu and I don’t want it on the very last menu item.

    the code generating the list…

    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>

    Appreciate any insights

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to control css styles for dynamically created menu items…’ is closed to new replies.
Skip to toolbar