• My email template is producing a space between the header image and the content. I’d like to remove the space but I can’t see where it is coming from!

    I’ve copied the html and uploaded it here so you can see what the issue is – https://internetsquad.co.uk/email-template.html

    I’ve viewed using Firebug, but it’s not obvious to me what I need to change. Can someone point me in the right direction?

    Myles

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Myles,

    Please remove the <p></p> from the image file.

    <div id="template_header_image">
    <img src="https://internetsquad.co.uk/wp-content/uploads/2017/05/email-header.jpg" alt="Magical Wonders" style="border: none;display: inline;font-size: 14px;font-weight: bold;/* height: auto; *//* line-height: 100%; */outline: none;text-decoration: none;text-transform: capitalize;">	
    Thread Starter magicalwonders

    (@magicalwonders)

    Hi Washiwed,

    Thanks for the help. I’ve removed the <p> tags from the image file in the email-header.php template, and it’s closed the gap considerably. ??

    However, there’s still a few pixels of space between the image and the content area. I’ve changed the background colour to black so it’s easier to see – https://internetsquad.co.uk/email-template2.html

    Any idea where that space is coming from? I can’t see any margin, padding or border settings that could be the culprit.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing space in email template’ is closed to new replies.