Support » Themes and Templates » Navigation now displays vertical

  • Hello,

    I recently modified my theme to support custom menus. I see that the custom menu now displays but it is vertical. Originally it was displaying horizontally. Perhaps I need to reference the new name of the custom menu in my css? Thanks in advance.

    Using bootstrap 2.

    site:
    http://krystalpureh2o.com/wordpress/

    here is my functions.php code.

    <?php 
    
    function wpbootstrap_scripts_with_jquery()
    {
    	// Register the script like this for a theme:
    	wp_register_script( 'custom-script', get_template_directory_uri() . '/bootstrap/js/bootstrap.js', array( 'jquery' ) );
    	// For either a plugin or a theme, you can then enqueue the script:
    	wp_enqueue_script( 'custom-script' );
    }
    
    function register_my_menus() {
      register_nav_menus(
        array(
          'main-menu' => __( 'Main Menu' ),
          'extra-menu' => __( 'Extra Menu' )
        )
      );
    }
    add_action( 'init', 'register_my_menus' );
    
    add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' );
    
    if ( function_exists('register_sidebar') )
    	register_sidebar(array(
    		'before_widget' => '',
    		'after_widget' => '',
    		'before_title' => '<h3>',
    		'after_title' => '</h3>',
    	));
    ?>
Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    I’m sorry but your chosen theme is not released under GPL. Official WordPress policy states that all plugins and themes that are publicly released are required to adhere to http://wordpress.org/about/gpl/ You will need to seek support from the theme’s developers – paid or otherwise.

Viewing 1 replies (of 1 total)
  • The topic ‘Navigation now displays vertical’ is closed to new replies.