Enanium: custom header now has an <a> floating above it that links to the main page.
authorDan
Fri, 21 Aug 2009 20:37:55 -0400
changeset 1100 aead4e1ce5df
parent 1099 73abd46f5148
child 1101 30d8bb88572d
Enanium: custom header now has an <a> floating above it that links to the main page.
themes/enanium/css/babygrand.css
themes/enanium/header.tpl
--- a/themes/enanium/css/babygrand.css	Fri Aug 21 20:37:18 2009 -0400
+++ b/themes/enanium/css/babygrand.css	Fri Aug 21 20:37:55 2009 -0400
@@ -74,6 +74,15 @@
   margin: 100px auto 0 auto;
 }
 
+a.header-placeholder {
+  display: block;
+  width: 60%;
+  min-width: 500px;
+  position: absolute;
+  top: 0;
+  left: 0;
+}
+
 div#header h1 {
   margin: 0;
   font-weight: normal;
--- a/themes/enanium/header.tpl	Fri Aug 21 20:37:18 2009 -0400
+++ b/themes/enanium/header.tpl	Fri Aug 21 20:37:55 2009 -0400
@@ -24,6 +24,7 @@
       
       if ( is_object($paths) && $head = $paths->sysMsg('SiteHeader') )
       {
+        echo '<a class="header-placeholder" href="' . makeUrl(get_main_page()) . '">&nbsp;</a>';
         echo $head;
       }
       else