This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Replies

8
  1. Andrew Misplon Staff 10 years, 3 months ago

    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. Larry 10 years, 3 months ago

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

  3. Andrew Misplon Staff 10 years, 3 months ago

    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 :)

  4. Larry 10 years, 3 months ago

    I’m already using a child theme.

  5. Andrew Misplon Staff 10 years, 3 months ago

    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;
    }
  6. Larry 10 years, 3 months ago

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

  7. Andrew Misplon Staff 10 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread