Replacing a Page Title with an Image
-
I’ve created a few major pages (not posts) on my site that are deserving of titles that are bigger and bolder than what the wimpy default page title offers. I’d like to create PNG files and have them appear instead of the text title.
I did this for one of my pages:
https://www.vegan.com/recipes/vegancom-top-10-recipes-of-2008/
copying this code inyp my Page’s title box:
<img src=”https://www.vegan.com/images/2008/top10recipes/recipesheadline.png” alt=”Top 10 Recipes, 2008″ />
And the result is just perfect, except there’s a cursed “> above my image. I’m guessing my theme (Cleaker) was never created with what I’m trying to do in mind. Unfortunately, the page template file is too complicated for me to understand and create a patch for.
I thought perhaps if I entered a space before my <img> tag I could get around this problem, but no luck. I could really use some help here!
- The topic ‘Replacing a Page Title with an Image’ is closed to new replies.