Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • piman the reason that code does not work is because the appearance of most things on the web and driven by css. I would recommend that if you want to start customizing your themes that you take the time to learn some css, html, jquery to gain a least a basic understanding of how code works. In this particular case the appearance is largely driven by the custom font they have installed via cufon as well. The font they are using is graublau by the way.

    Generally speaking copying and pasting large portions of peoples code is pretty much akin to stealing although there is a difference between liking the hover effect and wanting to learn how to do that to integrate with your own other design elements and wanting to copy an exact replica of someone’s site. The latter be not so ok and the former being fine.

    All in all there is no fast answer to your question other than to go learn a bit of front end web design. I reccomend https://www.w3schools.com/ HTML, CSS, and Jquery tutorials.

    Thread Starter CodePretty

    (@codepretty)

    Yes they are all the exact same. I’m pretty sure this is a wordpress bug.

    working menus code:

    <?php wp_nav_menu( array( 'container' =>  'span', 'theme_location' => 'primary' ) ); ?>
    <?php wp_nav_menu( array( 'container_class' => 'cbs-top-menu', 'menu_class' => 'sf-menu', 'theme_location' => 'top' ) ); ?>
    <?php
    wp_nav_menu( array( 'container_class' => 'footer-box', 'menu_class' => 'footer-box', 'theme_location' => 'footer-box', 'depth' => '1' ) );
    ?>
    <?php wp_nav_menu( array( 'container_class' => 'cbs-footer-menu', 'menu_class' => 'footer-links', 'theme_location' => 'footer', 'depth' => '1' ) ); ?>

    No longer working:

    <?php wp_nav_menu( array( 'container_class' => 'cbs-sub-menu','menu_class' => 'sf-menu', 'theme_location' => 'submenu' ) ); ?>

    Register Menu:

    register_nav_menus( array(
    	'primary' => __( 'Large Red Navigation', 'crossbordershopping' ),
    	 'top' => __('Top Grey Navigation Bar', 'crossbordershopping'),
    	 'footer' => __('Grey Footer Menu', 'crossbordershopping'),
    	 'submenu' => __('Second Grey Menu Below Red Menu', 'crossbordershopping')
    	 'footer-box' => __('Footer Directory', 'crossbordershopping')
    ) );

    As mentioned they are all basically the same. The only difference between them is that one has more items. They were all working great until I started adding items then all of a sudden after the 44th item it just stop working on that menu.

    Thread Starter CodePretty

    (@codepretty)

    oh and I enabled debugging in wp-config and the only think it did was find an error in a plugin but uninstalling the plugin didn’t help. ??

Viewing 3 replies - 16 through 18 (of 18 total)