Support » Plugin: WooCommerce » Removing space in email template

  • 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 –

    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?


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="" 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;">	

    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 –

    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.