• Resolved hesham elmelegy

    (@hesham-elmelegy)


    in asteroid last ver at style.css file
    you have to change <nav> to <div> since ie8 does not recognize html5
    so the main menu navigation does not show in appropriate way
    thanks
    i also want to thank the author and telling him that he is not just a coder but he is an artiest, this theme reflects simplicity, elegance and perfection , thank you for your effort ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Could you display block the nav instead?

    Thread Starter hesham elmelegy

    (@hesham-elmelegy)

    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

    Thread Starter hesham elmelegy

    (@hesham-elmelegy)

    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

    Thread Starter hesham elmelegy

    (@hesham-elmelegy)

    it’s good plugin and it will save time & effort
    thnx

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘IE8 problem’ is closed to new replies.