• Hi,

    I have created a website using twentyseventeen and need to be able to add a telephone number in the fixed top navigation bar, to the right of the nav items.

    I tried editing ‘navigation-top.php’ but this does not allow me to line the number horizontally with the navigation as I can’t add this to the div containing the nav

      Does anyone know how I can achieve this (without simply adding a custom menu item with a dead link)?

      Thanks

      Neil

    • This topic was modified 8 years, 1 month ago by neilorourke.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • What html and css are you using?

    Thread Starter neilorourke

    (@neilorourke)

    So far, I have just added a <p> to see how it plays:

    <nav id=”site-navigation” class=”main-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Top Menu’, ‘twentyseventeen’ ); ?>”>
    <button class=”menu-toggle” aria-controls=”top-menu” aria-expanded=”false”>
    <?php
    echo twentyseventeen_get_svg( array( ‘icon’ => ‘bars’ ) );
    echo twentyseventeen_get_svg( array( ‘icon’ => ‘close’ ) );
    _e( ‘Menu’, ‘twentyseventeen’ );
    ?>
    </button>

    <?php wp_nav_menu( array(
    ‘theme_location’ => ‘top’,
    ‘menu_id’ => ‘top-menu’,
    ) ); ?>
    <p>Tel: +353 (0)83 8270344 </p>
    </nav><!– #site-navigation –>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Editing 2017 theme navigation’ is closed to new replies.