summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-04-30 11:45:15 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-04-30 11:45:15 +0000
commit84f13cd781dda35fcf1d0b69f3f6dda5316aaecb (patch)
treef257893257a3ee776b3395c65e8f4d90d7d73013
parent0127cc87282a697b81ac03249365d72d0b75800d (diff)
downloadalpine_drupal_theme-master.tar.bz2
alpine_drupal_theme-master.tar.xz
add 4 colommn footer regionsHEADmaster
-rw-r--r--alpinelinux.css48
-rw-r--r--templates/page--front.tpl.php13
2 files changed, 32 insertions, 29 deletions
diff --git a/alpinelinux.css b/alpinelinux.css
index 3feba12..a35297a 100644
--- a/alpinelinux.css
+++ b/alpinelinux.css
@@ -536,39 +536,31 @@ div#front_slogan {
text-align: right;
}
-#footer-menu {
- }
-
-#footer-menu div {
- width:33%;
- float: left;
-
-}
-
-#footer .block-menu {
- width:25%;
- float: left;
- clear: none;
- margin: auto;
+div.four-4x25 {
background: #E3E3E3 url(images/footer-hr.png) repeat-x 0% -6px;
- /* border-top: 1px solid #999; */
- min-height: 150px;
- padding-top: 25px;
-}
+ margin:0;
+ padding-top:20px;
+ }
-#footer .block-menu h2,
-#footer .block-menu li a{
- color: #666
+div.four-4x25 h2 {
+ margin-left: 11px;
}
-#footer .block-menu .block-title,
-#footer .block-menu .block-content {
- width:60%;
- margin:auto;
+div.four-4x25 h2,
+div.four-4x25 .block-content {
+ color: #666;
+ background: #E3E3E3;
+ padding-top:0;
}
-.nav a.active:hover,
-.nav a.active:focus {
- font-weight: bold;
+div.four-4x25 .block-inner {
+ background: #E3E3E3;
+ color: #666;
+ padding-left: 50px;
}
+div.four-4x25 ul.menu li.leaf {
+ list-style-type: none;
+ list-style-image: none;
+ list-style:none;
+}
diff --git a/templates/page--front.tpl.php b/templates/page--front.tpl.php
index 4c852da..4818888 100644
--- a/templates/page--front.tpl.php
+++ b/templates/page--front.tpl.php
@@ -23,7 +23,18 @@
<?php print render($page['menu_bar']); ?> <!-- /menu bar -->
</header> <!-- /header -->
<?php print render($page['content']); ?>
- <?php if ($page['footer'] || $feed_icons): ?>
+
+ <!-- Four column Gpanel -->
+ <?php if ($page['four_first'] || $page['four_second'] || $page['four_third'] || $page['four_fourth']): ?>
+ <div class="four-4x25 gpanel clearfix">
+ <?php print render($page['four_first']); ?>
+ <?php print render($page['four_second']); ?>
+ <?php print render($page['four_third']); ?>
+ <?php print render($page['four_fourth']); ?>
+ </div>
+ <?php endif; ?>
+
+<?php if ($page['footer'] || $feed_icons): ?>
<footer id="footer"><div id="footer-inner" class="clearfix">
<?php print render($page['footer']); ?> <!-- /footer region -->
</div></footer> <!-- /footer/footer-inner -->