Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #232443

    Im using the fixed header with social icons. Id like to add the drop down for google translations in that area as well. Is there a way to add the php code to that area?

    http://www.goldbergcoin.net/Wordpress/?p=734
    <?php echo do_shortcode(‘[google-translator]’); ?>

    #232482

    Hi!

    Paste it in header.php around line 129.

    Cheers!
    Josue

    #233296

    Thanks Josue for the reply.

    I placed the code to around that line. It works but doesn’t show up. Meaning I have the bottom left tab turned on and that does show up as it is supposed to. As you can see on the site it adds space in the header which I don’t want. Could it be placed in place of or to the left of the phone number at the top?

    #233796

    Hi!

    Please edit header.php, find this code on line 123:

    if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>";
    

    Below, add this code:

    echo do_shortcode('[google-translator]'); 
    

    Add this on Quick CSS or custom.css:

    #google_language_translator {
    position: absolute;
    right: 250px;
    }
    

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.