Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #1186692

    So, I’ve inserted a tracking pixel code inside the closing head tag on our header.php file and am getting extra space above my header. I also tried using a pixel tagging manager and got exactly the same results. How do I get this accomplished WITHOUT having extra space put above the header on every page?



    Could you please post a link to your website? I think that could be resolved using simple CSS :)



    Hi Yigit, thanks for the assistance.
    PS: I took out the header code for the meantime.

    • This reply was modified 4 months, 1 week ago by  crtdude.


    Could you please add it back and let us know then? We would need to see the issue to provide a solution :)

    Best regards,


    Okay, I just put it back.



    Please try adding following code to Quick CSS in Enfold theme optios > General Styling

    body>img {
        display: none;

    Best regards,


    Worked perfectly. Thank you very much. What caused that? I never had that happen with tracking pixels or Google Tag Manager scripts before.



    It was inserted as IMG tag and was inheriting styles defined for img tagged elements so it was causing extra space :)

    You are welcome! Let us know if you have any other questions or issues and enjoy your weekend!


Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Spacing above header using tracking pixel’ is closed to new replies.