ckeilson
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Remove Background Behind PostNever mind. I just put the code in the beginning of the Custom CSS and it did the trick.
Thanks for your help.
Forum: Themes and Templates
In reply to: [Customizr] Remove Background Behind PostI tried that. It is not doing anything. Any ideas why?
Chris
Forum: Themes and Templates
In reply to: [Customizr] Remove Grey Bar Above FooterThank you. That worked perfectly.
Forum: Themes and Templates
In reply to: [Customizr] Need to Justify a Menu to the RightThis has been resolved in a different post here. Thanks for everyone’s help.
Forum: Themes and Templates
In reply to: [Customizr] More MenuYou are awesome. It worked perfectly.
Forum: Themes and Templates
In reply to: [Customizr] More MenuI do use Firebug. It is a great help. So I did what you said above and it did not seem to move it over. Maybe I am placing the code of the menu in the wrong place in the PHP file.
<?php /** * Menu action * * * @package Customizr * @subpackage classes * @since 3.0 * @author Nicolas GUILLAUME <[email protected]> * @copyright Copyright (c) 2013, Nicolas GUILLAUME * @link https://themesandco.com/customizr * @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ class TC_menu { function __construct () { add_action( '__menu' , array( $this , 'tc_render_menu' )); } /** * Menu fallback. Link to the menu editor. * Thanks to tosho (https://wordpress.stackexchange.com/users/73/toscho) * https://wordpress.stackexchange.com/questions/64515/fall-back-for-main-menu * * @package Customizr * @since Customizr 1.0 */ function tc_link_to_menu_editor( $args ) { if ( ! current_user_can( 'manage_options' ) ) { return; } // see wp-includes/nav-menu-template.php for available arguments extract( $args ); $link = $link_before . '<a href="' .admin_url( 'nav-menus.php' ) . '">' . $before . __('Add a menu','customizr') . $after . '</a>' . $link_after; // We have a list if ( FALSE !== stripos( $items_wrap, '<ul' ) or FALSE !== stripos( $items_wrap, '<ol' ) ) { $link = "<li>$link</li>"; } $output = sprintf( $items_wrap, $menu_id, $menu_class, $link ); if ( ! empty ( $container ) ) { $output = "<$container class='$container_class' id='$container_id'>$output</$container>"; } if ( $echo ) { echo $output; } return $output; } /** * Menu Rendering * * @package Customizr * @since Customizr 3.0 */ function tc_render_menu() { ?> <div class="navbar notresp span9 pull-left"> <div class="navbar-inner" role="navigation" align="right"> <div class="row-fluid"> <div class="member-login span5"> <?php wp_nav_menu( array('menu' => 'about-us-menu' )); ?> </div> <h2 class="span7 inside site-description"><?php bloginfo( 'description' ); ?></h2> </div> <div class="nav-collapse collapse"> <?php wp_nav_menu( array( 'theme_location' => 'main' , 'menu_class' => 'nav' , 'fallback_cb' => array( $this , 'tc_link_to_menu_editor' ), 'walker' => tc__ ( 'header' , 'nav_walker' )) ); ?> </div><!-- /.nav-collapse collapse --> </div><!-- /.navbar-inner --> </div><!-- /.navbar notresp --> <div class="navbar resp"> <div class="navbar-inner" role="navigation"> <div class="social-block"><?php do_action( '__social' , 'tc_social_in_header' ) ?></div> <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="nav-collapse collapse"> <?php wp_nav_menu( array( 'theme_location' => 'main' , 'menu_class' => 'nav' , 'fallback_cb' => array( $this , 'tc_link_to_menu_editor' ) , 'walker' => tc__ ( 'header' , 'nav_walker' )) ); ?> </div><!-- /.nav-collapse collapse --> </div><!-- /.navbar-inner --> </div><!-- /.navbar resp --> <?php } //end of render_menu() }
Forum: Themes and Templates
In reply to: [Customizr] More MenuNevermind. i figured it out. Thank you so much.
But I do have one more question. I may even figure it out before you get back to me. How can I get my new menu to be justified to the right. Currently it seems to be right next to my logo. I want it to be on the right side of the page.
Forum: Themes and Templates
In reply to: [Customizr] More MenuOK. A couple more things. When I do the:
li { float: left; }
It changes my menu in the left section of the footer too.
I know it is a stupid question, but how do I designate the new menu entry I added:
<div class="member-login span5"> <?php wp_nav_menu( array('menu' => 'menu-minor )); ?> </div>
To refer to a different “li” then the left section of the footer?
You can see the issue here:
https://www.keilsonconsulting.com/clients/KDS/
Chris
Forum: Themes and Templates
In reply to: [Customizr] More MenuThis is great. I used this and it worked. But the problem is that I want the menu to run Horizontal like this:
Partners | About Us | Contact Us | Staff | Client Login
instead it is showing up like this:
– Partners
– About Us
– Contact Us
– Staff
– Client LoginAny help would be appreciated
Here is the page. You can see the new Menu I added with your help at the top:
Forum: Themes and Templates
In reply to: [Customizr] Need to Make Links in Footer LargerThank you so much. That worked perfectly.