How to remove padding from my heading image/banner
-
Hi there,
I have a banner at the top of https://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="https://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="https://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(https://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)
Viewing 1 replies (of 1 total)
- The topic ‘How to remove padding from my heading image/banner’ is closed to new replies.