• Hi there! I have been informed that to move the nav bar below the slider i would need to install the a child theme for my site. I have now done that and I am looking for the CSS that would enable me to do this. Ideally the nav bar would sit flush at the bottom of the slider, -also the slider would have to move up more towards the top of the page to look good.

    If anyone could please help me out I would be soo grateful!!

    here is a link to my site

Viewing 2 replies - 1 through 2 (of 2 total)
  • copy your header.php to your child themes
    then modify your header themes from this

    <div class="clear"></div>
    			<nav id="site-navigation" class="main-nav" role="navigation">
    				<div class="navbar_inner">
    				<?php
    					wp_nav_menu( array(
    						'container'       => 'ul',
    		                'menu_class'      => 'sf-menu',
    		                'menu_id'         => 'topnav',
    		                'depth'           => 0,
    		                'theme_location' => 'primary'
    					) );
    				?>
    				</div>
    			</nav><!-- #site-navigation -->
    		</div>
    	</header><!-- #masthead -->
    	<?php if( (is_front_page()) && (of_get_option('sl_show') != 'no') ) { ?>
    	<section id="slider-wrapper">
    		<div class="container">
    	    	<?php get_template_part( 'slider' ); ?>
    		</div>
    	</section><!--#slider-->
      	<?php } ?>

    to

    <div class="clear">
    	<?php if( (is_front_page()) && (of_get_option('sl_show') != 'no') ) { ?>
    	<section id="slider-wrapper">
    		<div class="container">
    	    	<?php get_template_part( 'slider' ); ?>
    		</div>
    	</section><!--#slider-->
      	<?php } ?>
    </div>
    			<nav id="site-navigation" class="main-nav" role="navigation">
    				<div class="navbar_inner">
    				<?php
    					wp_nav_menu( array(
    						'container'       => 'ul',
    		                'menu_class'      => 'sf-menu',
    		                'menu_id'         => 'topnav',
    		                'depth'           => 0,
    		                'theme_location' => 'primary'
    					) );
    				?>
    				</div>
    			</nav><!-- #site-navigation -->
    		</div>
    	</header><!-- #masthead -->

    hope it help

    Thread Starter dropdown

    (@ddaustralia)

    thanks! it work like a treat! But now the slider is a little outta of place it kinda hangs to the right. Would you have a solution for this?

    Just like to say that i thought no one was gonna help me one this -i had it posted for over week before your reply.. just like to thank you sooo much for taking time out to do so! really appreciated. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duena Theme: Moving the nav bar below slider’ is closed to new replies.