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

    Dear Enfold,

    I would like to add Google Event Snippet for tracking Google Ads when page loads and it requires me to: “Copy the snippet below and paste it in between the <head></head> tags of the page(s) that you’d like to track, right after the global site tag.”

    Below you can find the page where I want to install the tag.

    Kindly how can I do this?

    Regards,

    Eduard

    #1323630

    Hey Eduard,

    Thanks for contacting us!

    Please add following code to bottom of functions.php file of your child theme – https://kriesi.at/documentation/enfold/child-theme/

    //-------------------------------
    // Custom script in head section
    //-------------------------------
    
    function custom_script_name(){
    if( is_page( 6175 ) ) { 
    ?>
    <script>
    
    // Your script here
    
    </script>
    <?php
    }
    }
    add_action('wp_head', 'custom_script_name');

    Best regards,
    Yigit

    #1323834

    Thanks!

    Actually, when I have installed the child theme, I started having problem with my text block element. It does only show the text in white, there are no any icons for like center the text, add image, etc.

    Please how can I fix it?

    #1324009

    Hi,

    Thank you for the update.

    The site is still using an older version of the theme (4.8.1), which is probably why the text block issue occurs. You have to upgrade the theme to the latest version (4.8.6.4) immediately. After the upgrade, you may need to toggle or temporarily disable the Enfold > Performance > File Compression settings.

    Best regards,
    Ismael3

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