WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Horizontal trouble w/ New 3.0 Custom Menus (3 posts)

  1. webjunk
    Member
    Posted 3 years ago #

    Creating a new theme which has its own built-in menus and the new 3.0 Menu system. Its own menus work great horizontal. When I use the New 3.0 Custom Menus it only appears vertical no matter what I do.
    You can view the website and how custom menus are displayed wrong at:
    http://webjunkdemo.com/gym/

    You can see the (working) built-in menu at:
    http://webjunkdemo.com/cms/

    You can view the CSS code that should display horizontal at:
    http://wordpress.pastebin.ca/1907832

    This is driving me crazy. Have tried many things including moving the menu function (webjunk_nav) around in header.php. Twentyten and other themes can display the menu horizontal but not mine!
    Here is my function for the menu:
    function webjunk_nav() {
    if ( function_exists( 'wp_nav_menu' ) )
    wp_nav_menu( 'menu=main_nav&container_class=menu-header' );
    else
    webjunk_nav_fallback();
    }

    Thanks!!
    Paul

  2. stanzl
    Member
    Posted 3 years ago #

    Dude, really?

    style.css, line 1027:

    ul.menu li {
    background:url("images/div-h.png") repeat-x scroll left bottom transparent;
    display:block;
    padding:0 0 3px;
    width:100%;
    }

    Lose the width property!

  3. webjunk
    Member
    Posted 3 years ago #

    Thanks. That section is really for my sidebar but should have found it. Now need to make the rest of the Custom menu look like the built-n menu.
    Thanks much!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.