Nonochrome menu editing

  • Unknown's avatar

    Hi, i need some basic help on a menu editing for the theme monochrome.
    The blog is http://www.htc7.it and i would like to have the menu under the logo, but right aligned.
    Now the logo and the menu are into two <div> and if the menu become to big (if i put more pages) the menu stay in his half part of the header and do not go under the logo.
    How can i modify the code?
    Hede is the interested code:

    <div id=”header”>

    <div id=”header_top”>
    <div id=”logo”>
    <?php if ($options[‘use_logo’]): ?>
    <h1>/” id=”logo_image”><img src=”<?php bloginfo(‘template_url’); ?>/img/<?php echo $options[‘logo_name’]; ?>” alt=”<?php bloginfo(‘name’); ?>” title=”<?php bloginfo(‘name’); ?>” /></h1>
    <?php else: ?>
    /”><?php bloginfo(‘name’); ?>
    <h1><?php bloginfo(‘description’); ?></h1>
    <?php endif; ?>
    </div>

    <?php if($options[‘use_wp_nav_menu’]) { ?>
    <?php if (function_exists(‘wp_nav_menu’)) { wp_nav_menu( array( ‘sort_column’ => ‘menu_order’, ‘container_class’ => ‘header_menu’ ) ); }; ?>
    <?php } else { ?>
    <div class=”header_menu”>
    <ul class=”menu”>
    <li class=”<?php if (!is_paged() && is_home()) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>/”><?php _e(‘HOME’,’monochrome’); ?>
    <?php
    /*if($options[‘header_menu_type’] == ‘pages’) {
    wp_list_pages(‘sort_column=menu_order&depth=0&title_li=&exclude=’ . $options[‘exclude_pages’]);
    } else {
    wp_list_categories(‘depth=0&title_li=&exclude=’ . $options[‘exclude_category’]);
    }*/
    wp_list_categories(‘depth=0&title_li=&exclude=’ . $options[‘exclude_category’]);
    wp_list_pages(‘sort_column=menu_order&depth=0&title_li=&exclude=’ . $options[‘exclude_pages’]);
    ?>

    </div>
    <?php }; ?>

    </div>

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘Nonochrome menu editing’ is closed to new replies.