Closed (fixed)
Project:
Panels Everywhere
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2011 at 22:49 UTC
Updated:
25 Apr 2011 at 21:01 UTC
Hello,
The goal is to wrap node title inside of the < h1 > tag.
I went to Default site template, and i choose "Manualy set" for Title type.
I wrote <h1>%node:title</h1> inside of the title field.
Now, i go to the newly created node. The page markup contains an empty < h2 > tag which is situated above the title.
<div class="panel-pane pane-page-content">
<h2 class="pane-title"></h2>
<h1>test</h1>
How can i delete this empty h2 tag?
Thank you for great module!
Comments
Comment #1
intyms commentedThe idea is to wrap Node titles and Panels titles inside of H1 tag.
Here is the solution that works for me:
I have copied
modules/panels/templates/panels-pane.tpl.phpto my theme folder.And replaced
with
Thanks to "spikeerob" for the solution (http://drupal.org/node/991384#comment-4004824)