-
AuthorPosts
-
November 11, 2015 at 11:03 pm #534427
Hi,
I’ve bin wrestling a few weeks on and off, to get this working, but it’s not satisfying at this moment. On my homepage I’ve added a easyslider at the top of the page to show a fullwidth image, see http://bit.ly/1kpJybc. On single.php I’ve also added an image and this should be like this on every page/post. I’ve bin trying to add a category-page to the site with an image on top, following posts on this forum, but this didn’t show the image.
Isn’t there another way to include the image into the header? Difficult in this is that there are two images which should change depending the page. It can always be the same page/post/category which shows the same image each time.
How can I do this on a better way?
Regards,
Erwin
November 12, 2015 at 5:15 pm #534905Hi erwin_m!
What’s the exact code your using?
Your category pages can display a banner. Navigate to Dashboard > Posts > Categories and edit a category and set the description. You can use HTML in there.
Regards,
Elliott- This reply was modified 9 years ago by Elliott.
November 12, 2015 at 11:34 pm #535134Hi Elliot,
So I’ve added my code into the description. Soon as I click save, my code gets deleted.
This is my code:
<img class="topper" src="http://myurl.nl/wordpress/wp-content/themes/enfold-child/images/realheader_werkenbij.jpg" >
Regards,
Erwin
November 13, 2015 at 12:03 am #535156Hi,
Changed the category-page, added a fullwidth slider to it. As I already added the image to the pages and to the single.php, this would be the last, technical, demand.
This does work, but the image reacts strange when going responsive, and on the category-page it’s beneath another element. Tried to change the z-index, but poperly changed the wrong element, nothing changed. See http://bit.ly/1HEpwUh
Can you help me with those “problems”?
Regards,
Erwin
November 13, 2015 at 11:31 pm #535770Hi,
Solved this topic mostly. Opened another topic for a few other issues, so that it’s clear what is belongs where.
Regards,
Erwin
-
AuthorPosts
- The topic ‘Full width image in header’ is closed to new replies.