modified for Accessibility based on Standard theme.
This commit is contained in:
@@ -17,16 +17,17 @@
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
|
||||
if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user