Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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?

    #1186711

    Hi,

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

    Regards,
    Yigit

    #1186712

    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.
    #1186717

    Hi,

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

    Best regards,
    Yigit

    #1186719

    Okay, I just put it back.

    #1186734

    Hi,

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

    body>img {
        display: none;
    }

    Best regards,
    Yigit

    #1186743

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

    #1186750

    Hey!

    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!

    Cheers!
    Yigit

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

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