Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Could you display block the nav instead?
i’m sory it is in header.php (i was thinking in style.css in my backend brain heehehe )
the code :
<nav id=”nav”>
<?php do_action(‘ast_hook_before_nav’); ?>
<!– Menu –>
<?php wp_nav_menu( array(
‘theme_location’ => ‘ast-menu-primary’,
‘container’ => false,
‘fallback_cb’ => ‘wp_page_menu’ )
);
?>
<!– Searchform –>
<?php if ( asteroid_option(‘ast_menu_search’) == 1 ) : ?>
<div id=”nav-search”>
<form id=”nav-searchform” role=”search” method=”get” action=”<?php echo home_url( ‘/’ ); ?>”>
<input id=”nav-s” type=”text” value=”Search” onfocus=”if (this.value == ‘Search’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘Search’;}” name=”s” />
<input id=”nav-searchsubmit” type=”submit” value=”” />
</form>
</div>
<?php endif; ?>
<?php do_action(‘ast_hook_after_nav’); ?>
</nav>
just change nav –> div
thnx
also in file loop.php don’t forget to change
<article id=”post-<?php the_ID(); ?>” ………….
to
<div id=”post-<?php the_ID(); ?>” ………….
and don’t forget the end’s too , </article> to </div>
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
it’s good plugin and it will save time & effort
thnx