Community Documentation

Panels and their Titles

Last updated May 26, 2011. Created by iandickson on May 26, 2011.
Log in to edit this page.

Having trouble HIDING titles in Panel pages?

Commonly needed when for example your Front Page is a Panel full of Views, and you really don't want Panel details cluttering up your display.

There are TWO ways to set up Panels. Only one of them allows you to hide titles.

1) Panel as a Content Type, and thus the Panel is created as a node.

You CANNOT hide the title. The Panel is a Node and Nodes must have titles. It's a Drupal feature.

(No doubt playing with template files and css will work, but that's the only way).

2) Panel created as a Panel Page in example.com/admin/structure/panels

Choose "no title". Done.

(It's not technically a node, though to all intents and non programming purposes it acts like one, it can threfore not have a title displayed).

Fixing existing (titled) Panels

You have to delete your existing Panel nodes and rebuild them as Panel pages.

Comments

Regarding item 2

The problem here is that you will end up with no page title in the browser title bar either, which can be a problem (especially for SEO, etc.). How can you get the page title to not appear in the body of the page but still appear in the head title tag without resorting to a theme hack?

nobody click here