• Hi,

    You built a great theme here. It fit what the client was looking to do about 99%.

    I am wondering how to get the homepage navigation to remain in view like on the internal pages. It is only visible upon scrolling the page. I cannot find where in the coding this is controlled.

    https://www.piazafresh.com

    Thanks and have a great day!
    Andrew

Viewing 3 replies - 1 through 3 (of 3 total)
  • enidan

    (@enidan)

    Hi agrehl,

    I see you managed to make your ‘nav menu’ stay viable on all pages which is great! I am using Silverstone as well and would like to do the same as you… how did you manage to get your ‘nav menu’ to show permanently?

    Thanks,

    enidan.

    Thread Starter agrehl

    (@agrehl)

    Hi Enidan,

    I moved the coding around and deleted a few lines that were specifying the sticky aspect. Not sure if that’s the true correct way to go about it but it works across browsers.

    Here’s what i did in the header.php file:

    I moved the <header id=”masthead”> to right below <div class=”frontpage-header”> and deleted the <div class=”header-nav-container”> block of code.

    below is the resulting “masthead” code.
    *****************
    <header id=”masthead” class=”site-header” role=”banner”>
    <?php if(is_front_page()) : ?>
    <div class=”header-nav-container-inner”>
    <?php endif; ?>
    <div class=”responsive-container”>
    <div class=”site-branding”>
    <h1 class=”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
    <h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
    </div>

    <nav id=”site-navigation” class=”main-navigation” role=”navigation”>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_id’ => ‘main-nav’ ) ); ?>
    </nav><!– #site-navigation –>
    </div><!– .responsive-container –>
    </div>
    </header><!– #masthead –>

    *********************

    enidan

    (@enidan)

    Hi agrehl

    That’s awesome, I will give this a try tonight.

    Thank you so much for this and the super quick reply!

    Thank!

    Phil

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Front page nav menu is hiding. How to always show?’ is closed to new replies.