The H2 header for this theme contains an error which causes page titles to be too small
if ($title) { print '<h2'. ($tabs ? ' class="pagetitle with-tabs"' : 'pagetitle') .'>'. $title .'</h2>'; }
needs to be changed to
if ($title) { print '<h2'. ($tabs ? ' class="pagetitle with-tabs"' : ' class="pagetitle"') .'>'. $title .'</h2>'; }
the ?: (ternary?) expression causes pagetitle to be appended to the h2, creating a new html flag. This also screws up validation on an otherwise fine page. I'd make a patch but the fix is so simple that one's unnecessary. I'd do it myself if I had access to the code :-)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | page.tpl_.patch | 755 bytes | illogic-al |
Comments
Comment #1
illogic-al commentedComment #2
illogic-al commentedOK, I decided to make a patch. Good thing too because i forgot to say where the error takes place. :-)
It's in the page.tpl.php file. Also the error only shows up when anonymous users view the page, or when users other than the one who created the page views it.
Comment #3
andrewbenkard commenteda big New Jersey THANK YOU to illogic-al.
Comment #4
Kilton Hopkins commentedI second that.
A big Chicago thank-you for illogic-al. You saved me time and that is invaluable.
Comment #5
toddgee commentedagree that this needs to be fixed (just came here to report same issue). Looks like this has been long-outstanding. I'll give the owner a ping.
Comment #6
d.cox commentedDitto.