Dovetail theme header???? (2 posts)

  1. fejesrealestate
    Posted 4 years ago #

    I would love to add a nav bar or horizontal menu to my header and can not find how??? can anyone help? please!!

  2. Kabi
    Posted 3 years ago #

    Create a child-theme, and add this to your function.php

    function register_my_menus() {
    array( 'header-menu' => __( 'Header Menu' ), 'extra-menu' => __( 'Extra Menu' ))
    add_action( 'init', 'register_my_menus' );

    also need to modify the header.php
    Find the <div id="documentBody"> entry and paste this after

    <div id="custom_menu">
    <?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>

    I've called it custom_menu, but change it whatever you want it to.
    Also need to add to your style.css (stylesheet) for further tuning.

    My blog is based on this theme too.


    [signature moderated]

Topic Closed

This topic has been closed to new replies.

About this Topic