WordPress.org

Ready to get started?Download WordPress

Forums

Home Menu Item Not Customisable (5 posts)

  1. Kristian Matthews
    Member
    Posted 3 years ago #

    I'm creating my own WordPress theme, I'm using the basis of the default theme, I've run into a problem…

    In the menu bar, the 'Home' item is fine on the homepage, but when it's on a different page, post, etc… then it doesn't seem I can customise it using the CSS.

  2. Kristian Matthews
    Member
    Posted 3 years ago #

    Still got the same problem, I'm using <?php wp_nav_menu(array('container_class'=>'menu-header','theme_location'=>'primary')); ?> to load the menu, but I'm not able to assign custom IDs or classes to the ul or li items.

  3. Kristian Matthews
    Member
    Posted 3 years ago #

  4. Kristian Matthews
    Member
    Posted 3 years ago #

    * bump * Any ideas?

  5. Kristian Matthews
    Member
    Posted 3 years ago #

    I thought maybe this page would be helpful, but can't work out how.

    http://codex.wordpress.org/Function_Reference/wp_nav_menu

Topic Closed

This topic has been closed to new replies.

About this Topic