Forums

How to add piece of code behind wp_nav_menu? (1 post)

  1. macfrickins
    Member
    Posted 1 year ago #

    I want to put this piece of code behind wp_nav_menu

    <div class="fb-like" data-href="https://www.facebook.com/***" data-send="false" data-layout="button_count" data-width="80" data-show-faces="false" data-font="segoe ui"></div>

    but I am unable to format it properly (i want to have in line - contact, about and like button). Is it possible to put it just in header.php posted bellow (how?), or do I need to use some magic (by creating class in stylesheet, or or or ... I don't know)?

    [59 lines of code moderated as per the Forum Rules. Please use the pastebin]

    but if I replace

    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?></nav><!-- #access -->

    it isn't aligned properly

Topic Closed

This topic has been closed to new replies.

About this Topic