If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I would like to upload an image into the Header Ad area. When I try to paste in the URL link, it just appears as boxed text on the home page. What do I do? Also, can I make it larger that the recommended 468 x 60?
1) The banner just displays html code – so i.e. if you’d like to insert a clickable banner use:
<a href='http://google.com/'><img src='http://dummyimage.com/468x60/333/fff.jpg'></a>
and instead of http://google.com use your target url and insert your image url instead of the “dummyimage code”.
2) Add following code to css/custom.css:
and adjust all 3 values (basically 2x 58px, and 466px) to your required images size).
Sorry to be so dumb… So in the code above, instead of google.com – I put in mywebsite.com. And instead of dummyimage.com – I put in the URL of the image from media uploads. If this is correct, it still did not work?
You need to replace: http://eatineatout.ca/wp-content/uploads/2011/08/Header-ad.jpg/468×60/333/fff.jpg with a custom image url (i.e. banner image, etc. This file: http://eatineatout.ca/wp-content/uploads/2011/08/Header-ad.jpg/468×60/333/fff.jpg doesn’t exist and won’t display :)
Just one more question. I want this image to link to a sign-up list form. I have the HTML for that link. How do I add it to the above HTML for the image?
The topic ‘Header Ad Image’ is closed to new replies.