-
hankyknotParticipant
I’ve managed-ish to center my nav bar and would like to have some widgets appear below the nav bar. However the widget area is above the nav bar. How do I move it?
sneeuxParticipantedit the Footer (footer.php) this way:
(which only change the position of <?php get_sidebar( ‘footer’ ); ?>)<?php
/**
* The footer Template
*
* @package WordPress
* @subpackage minimatica
* @since Minimatica 1.0
*/
?>
<footer id=”footer”>
<nav id=”access” role=”navigation”>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary_nav’, ‘container_id’ => ‘primary-nav’, ‘container_class’ => ‘nav’, ‘fallback_cb’ => ‘minimatica_nav_menu’ ) ); ?>
</nav><!– #access –>
<?php get_sidebar( ‘footer’ ); ?>
</footer><!– #footer –>
</div><!– #wrapper –>
<?php wp_footer(); ?>
</body>
</html>hankyknotParticipantI replaced the old Footer content shown below under OLD with that shown under NEW and lost my nav bar completely and the background also glitched slightly. What did I do wrong?
NEW <?php /** * The footer Template * * @package WordPress * @subpackage minimatica * @since Minimatica 1.0 */ ?> <footer id="footer"> <nav id="access" role="navigation"> <?php wp_nav_menu( array( 'theme_location' => 'primary_nav', 'container_id' => 'primary-nav', 'container_class' => 'nav', 'fallback_cb' => 'minimatica_nav_menu' ) ); ?> </nav><!-- #access --> <?php get_sidebar( 'footer' ); ?> </footer><!-- #footer --> </div><!-- #wrapper --> <?php wp_footer(); ?> </body> </html> OLD <?php /** * The footer Template * * @package WordPress * @subpackage minimatica * @since Minimatica 1.0 */ ?> <footer id="footer"> <?php get_sidebar( 'footer' ); ?> <nav id="access" role="navigation"> <?php wp_nav_menu( array( 'theme_location' => 'primary_nav', 'container_id' => 'primary-nav', 'container_class' => 'nav', 'fallback_cb' => 'minimatica_nav_menu' ) ); ?> </nav><!-- #access --> </footer><!-- #footer --> </div><!-- #wrapper --> <?php wp_footer(); ?> </body> </html>
hankyknotParticipantOk, so I figured it out, looks like when I copied the code from the email its replaced the < and > characters with some kind of code, once I corrected those the navbar came back and the background alinment returned to where it started. Now to test the widgets.
Thanks for your help sneeux π
You must be logged in to reply to this topic.