Dropdown menu showing me diferent colors and nav bar not centered

Forums Forums Menus Dropdown menu showing me diferent colors and nav bar not centered

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #7393

    Try this:
    [code:32vu4qgv]
          <?php if ( function_exists(‘pixopoint_menu’) ): ?>
          <?php pixopoint_menu(); ?>
          <?php else : ?>
            <ul class="sf-menu menu clearfix">
                <li><a href="<?php bloginfo(‘url’) ?>"><?php echo arras_get_option(‘topnav_home’) ?>[/url]</li>
                <?php
                if (arras_get_option(‘topnav_display’) == ‘pages’) {
                  wp_list_pages(‘sort_column=menu_order&title_li=’);
                } else if (arras_get_option(‘topnav_display’) == ‘linkcat’) {
                  wp_list_bookmarks(‘category=’.arras_get_option(‘topnav_linkcat’).’&hierarchical=0&show_private=1&hide_invisible=0&title_li=&categorize=0&orderby=id’);
                } else {
                  wp_list_categories(‘number=11&hierarchical=1&orderby=id&hide_empty=1&title_li=’); 
                }
                ?>
            </ul>
          <?php endif ?>
            <ul class="rss clearfix">
                <?php if ($feed == ”) : ?>
                  <li><a href="<?php bloginfo(‘rss2_url’); ?>"><?php _e(‘Posts’, ‘arras’) ?>[/url]</li>
                <?php else : ?>
                  <li><a href="<?php echo $feed; ?>"><?php _e(‘Posts’, ‘arras’) ?>[/url]</li>
                <?php endif; ?>
                <?php if ($comments_feed == ”) : ?>
                  <li><a href="<?php bloginfo(‘comments_rss2_url’); ?>"><?php _e(‘Comments’, ‘arras’) ?>[/url]</li>
                <?php else : ?>
                  <li><a href="<?php echo $comments_feed; ?>"><?php _e(‘Comments’, ‘arras’) ?>[/url]</li>
                <?php endif; ?>
            </ul>
      <?php arras_below_nav() ?>
       
      <div id="main">
        <div id="container" class="clearfix">
    [/code:32vu4qgv]

    #7394
    Anonymous
    Member

    You mean, in "header.php", I should replace these lines :

    if ( !function_exists(‘pixopoint_menu’) ) {
    wp_enqueue_script(‘hoverintent’, get_template_directory_uri() . ‘/js/superfish/hoverIntent.js’, ‘jquery’, null, false);
    wp_enqueue_script(‘superfish’, get_template_directory_uri() . ‘/js/superfish/superfish.js’, ‘jquery’, null, false);
    }

    by the ones you posted? Is that right? I almost lost my entire site once by altering a few lines of code, so I won’t take any more chances.

    #7395

    No. I meant to replace the code [b:3pjhwn5b]you[/b:3pjhwn5b] posted, with the code [b:3pjhwn5b]I[/b:3pjhwn5b] posted.

    If you are backing everything up, then breaking your theme shouldn’t really matter.

    I break entire sites multiple times every day. But since I have backups it doesn’t matter.

    If you aren’t doing it already, then working on a local or test site would be a good idea too instead of breaking your actual live site, even if only for a few seconds before you get the backup loaded again.

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.