I'm trying to wrap a tag around some content in my View header but it's not working as intended.

I'm using the Global: Unfiltered text as the type of header content. I'm inserting the div like so:

<div class="some-class"><h2>header</h2></div>

It saves it alright and when I go back and view it it's still in there...but for some reason it doesn't show up in the HTML when I inspect element. The h2 tag shows up but not the div wrapped around it.

Thoughts on how to fix this?


1 Answer 1


Add your header (for quick testing purposes, so you don't need to add it to a css file)

 .some-class { border: solid red; }

To double check that indeed it's not there.

If it's not there (you don't see anything red), then try using Global: Text area instead and use Full HTML as your text format.

  • global: text area fixed it!
    – Sage
    Nov 7, 2015 at 1:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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