Community Forums › Forums › Archived Forums › Design Tips and Tricks › Banner Image Above Header
- This topic has 6 replies, 2 voices, and was last updated 11 years, 7 months ago by
Brad Dalton.
-
AuthorPosts
-
August 7, 2014 at 6:27 am #117548
ParentNormal
MemberI'm trying to redesign my website, and I want to add a banner image above my header on my eleven40 pro theme, which is here - http://www.parentnormal.com. I've found some instructions online here - http://sridharkatakam.com/adding-banner-image-header-eleven40-pro/. However, my attempts to follow these instructions resulted in the white screen of death, which I thankfully fixed.
Does anyone know of a more simple way to explain this process to a layman who very rarely works in code? Also, I think I my original mistake was trying to add my image into the code, but the instructional link above didn't give detailed instructions on how exactly to do that. And finally, the image I want to add is currently 1140x453. Do I need to add that info to the code?
Your advice is much appreciated.
Thank you,
Chris
http://www.parentnormal.comAugust 7, 2014 at 6:42 am #117553Brad Dalton
ParticipantMight be easier to add a custom widget before the header using this code http://wpsites.net/web-design/add-banner-before-header/
August 7, 2014 at 10:55 pm #117704ParentNormal
MemberYour instructions helped me create the "Before Header" widget area, but when I tried to create a text widget with an image to add there, no image appeared above my header. Instead, it was a very large empty box with a question mark in the middle. Did I add my image wrong in the code?
I assumed that I just (1) add my new banner image to my media library, (2) copy the image's URL, (3) replace this part of the code - http://example.com/wp-content/uploads/2013/09/logo.png"><img src="http://127.0.0.1:4001/wordpress/wp-content/uploads/2013/09/logo.png with my picture, and (4) add a text widget inside the new "Before Header" widget area with this new code.
Where is my mistake?
Your help is very appreciated!
As a refresher, here is your recommended code to add to a text widget:
August 7, 2014 at 11:29 pm #117711Brad Dalton
ParticipantPlease insert your image into a new Post draft and then copy the HTML for the image from the text editor which you can then paste it the text widget populated in the new before header widget my code generates.
August 8, 2014 at 9:23 am #117769ParentNormal
MemberThanks again. I'm very near to what I want, but when I insert the picture, there is about a 1 inch gap of white space between the new banner and the subtitle language. Is there a way to get rid of that extra space?
Thank you for your help.
Chris
August 8, 2014 at 8:46 pm #117856ParentNormal
MemberHere is the link to my site, so you can see the white space beneath my new banner I'm trying to get rid of.
Thanks again,
Chris
August 8, 2014 at 9:46 pm #117862Brad Dalton
ParticipantPlease use Firebug to find the correct classes and add some margin/padding using CSS
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.