Home>Support>text in masthead navbar
  1. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Larry

    We’d need to work up a child theme solution. I’m not following the location though. Can you send a link to your site, please.

    Thanks :)

  2. 8 years, 10 months ago Larry

    It’s kind of work in progress but does this screen shot help? https://dl.dropboxusercontent.com/u/4075949/CaptureNAV.PNG

  3. 8 years, 10 months ago Larry

    Same here – https://dl.dropboxusercontent.com/u/4075949/CaptureNAV.PNG

  4. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Thanks.

    You can try this child theme to start with:

    https://siteorigin.com/wp-content/uploads/2015/11/vantage-child-text-under-menu.zip

    Download the ZIP
    Install via Appearance > Themes > Add New: Upload Theme.
    Add text via Appearance > Widgets > Menu widget area.

    When activating a child theme it’s normal for the menu location and Customizer settings to reset. If you’d like to make use of the child theme you’ll need to redo those settings.

    When the child theme is activated you can go to Appearance > Editor > style.css. There is one rule there. You can adjust things like font size and left margin to move the text etc.

    Hope that helps :)

  5. 8 years, 10 months ago Larry

    I’m already using a child theme.

  6. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    If you feel comfortable doing so you can work my changes into your child theme.

    1. Insert the following in your functions.php file:

    /**
     * Register widget area.
     *
     * @link http://codex.wordpress.org/Function_Reference/register_sidebar
     */
    function vantage_child_widgets_init() {
    	register_sidebar( array(
    		'name'          => __( 'Menu', 'vantage' ),
    		'id'            => 'sidebar-menu',
    		'description'   => '',
    		'before_widget' => '',
    		'after_widget'  => '',
    		'before_title'  => '',
    		'after_title'   => '',
    	) );
    }
    add_action( 'widgets_init', 'vantage_child_widgets_init' );	
    

    2. Assuming you don’t already have a “parts” folder in your child theme, copy the entire “parts” folder from my child theme into yours.

    3. Insert the following at Appearance > Custom CSS:

    /* Menu */
    
    .site-navigation .widget-area {
    	color: #fff;
    	font-size: 14px;
    	text-align: left;
    	margin-top: 10px;
    	margin-bottom: 10px;
    	margin-left: 200px;
    }
    
  7. 8 years, 10 months ago Larry

    I already have a parts folder in my child theme. Can you please tell me what you have modified?

  8. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi :)

    Download the child ZIP to your desktop, open it and check the parts folder, there is a menu.php file in it. If you don’t have a menu.php file in your child theme parts folder then, copy mine. If you do have a menu.php there already then add the widget area in below the menu. The menu is loaded as follows:

    wp_nav_menu... etc
    

    Below that I’m adding our new widget area:

    		<?php if ( is_active_sidebar( 'sidebar-menu' ) ) : ?>
    			<div class="widget-area">
    				<?php dynamic_sidebar( 'sidebar-menu' ); ?>
    			</div>
    		<?php endif; ?>	
    
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More