Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28098

    Hi,

    Ho can I position this

    echo do_shortcode (‘[mc4wp-form]’)

    between the logo and the menu in the centre? Thanks.

    #136473

    Bump! Please this is important and urgent , the short code is only an input field to signup for Newsletter.

    We need this to be centered between the logo on the left and the Menu drop-down on the right, thanks!

    #136474

    Hi,

    Edit header.php, find this code:

    echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');

    Below, add this code:

    echo '<div class="mc4wp-form">'.do_shortcode('[mc4wp-form]').'</div>';

    Edit Quick CSS or your custom.css, add this code:

    .mc4wp-form {
    position: absolute;
    left: 300px;
    top: 60px;
    }

    Adjust the left and top position.

    Regards,

    Ismael

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Positioning shortcodes in Header.php’ is closed to new replies.