• Resolved audio90

    (@audio90)


    Hi there,

    I have a banner at the top of http://www.manmeetswoman.com.

    I made it a clickable banner this morning and, while it works/clicks now, it also added extra padding to the top and bottom. I don’t know why and have not been able to remove it.

    This is the code I used to put the clickable banner in:

    function add_header_image () {
    echo '<a href="http://www.manmeetswoman.com/about-man-meets-woman/special-talk-july-29th-dating-and-relationships-for-the-modern-man/" title="Dating and Relationships for the Modern Man - July 29th">
    <img src="http://manmeetswoman.com/images/man-meets-woman-header-talk.gif" alt="Man Meets Woman - Attraction Coaching for Men, Vancouver, B.C." height="126" width="1272" align="center" style="border:0px" /></a>';
    }
    add_action('thesis_hook_after_title', 'add_header_image');

    And it is in my custom_functions.php file (well, technically it’s in a hook for my theme that writes to the custom_functions.php).

    FYI, here is the code I used before, it was in my custom.css file:

    .custom #header {
    height:126px;
    padding-top:0;
    padding-bottom:0;
    background:url(http://manmeetswoman.com/images/man-meets-woman-header-talk.gif)
    center left no-repeat; }

    Can anyone help me remove the padding from the header? thnx

Viewing 1 replies (of 1 total)
  • Thread Starter audio90

    (@audio90)

    Oh, solved my own problem.

    .custom #header { padding: 0; }

    FYI for anyone who wants to know for themeselves.

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove padding from my heading image/banner’ is closed to new replies.