Support » Fixing WordPress » Display Text Over Image Using Custom Fields

Viewing 1 replies (of 1 total)
  • Some CSS would do that, if your code already outputs elements. Give the image an absolute position, or position the text..

    Example:

    <style>
    img { position: absolute; }
    h2 { position: relative; z-index: 1; }
    </style>
    
    <div>
    	<img src="https://secure.gravatar.com/avatar/492c676a9addf05cd6f0724138a5b687?s=250" alt="gravatar">
    	<h2>Just a heading</h2>
    </div>

    Trouble doing it? give us a link to a post where you got the image and text to show, but the text displays before or after the image..

Viewing 1 replies (of 1 total)
  • The topic ‘Display Text Over Image Using Custom Fields’ is closed to new replies.