1

Hoping someone can help me. I have a custom content type that contains a bunch of fields with one of them being an image field. I'd like to have the view display the image field as the background and the rest of the fields to overlay that image as text.

Can anyone make any recommendations on the best approach here?

Any guidance would be appreciated.

0

Set all of your field to hidden, then add a Global: Custom text field (not hidden). In that field you add all of your fields back via the replacement patterns, making sure to wrap them in divs (or appropriate tags) with appropriate classes, and that your image is contained in the outer div. something like this:

<div class="image-wrapper">
  [image]
  <h2 class="title">[title]</h2>
</div>

Then apply CSS to get the overlay effect to your liking. Text Blocks Over Image

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.