summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author@himerus2011-01-06 09:22:33 -0500
committer@himerus2011-01-06 09:22:33 -0500
commit2a3a643ce78ddd75d9c0d05310806460769009d8 (patch)
treedb2fa27946b2415c0db04430a8cf830d814cdce5
parentf1007d038b1932e42bb9fbaef332d56a29e8759f (diff)
fixing empty region in node.tpl.php for user info; adding css for blocks without titles to remove lower border
-rw-r--r--css/gamma.css3
-rwxr-xr-xtemplates/node.tpl.php2
2 files changed, 5 insertions, 0 deletions
diff --git a/css/gamma.css b/css/gamma.css
index e9dbfb1..ff62b01 100644
--- a/css/gamma.css
+++ b/css/gamma.css
@@ -558,6 +558,9 @@ div.links ul.links li a {
margin-bottom: 10px;
clear: both;
}
+.content-zone .block-without-title {
+ border-bottom: 0;
+}
.content-zone #block-system-main {
border-bottom: 0;
}
diff --git a/templates/node.tpl.php b/templates/node.tpl.php
index 79076a5..88d1527 100755
--- a/templates/node.tpl.php
+++ b/templates/node.tpl.php
@@ -97,6 +97,7 @@
<?php if (!empty($content['links'])): ?>
<div class="links"><?php print render($content['links']); ?></div>
<?php endif; ?>
+ <?php if($user_picture || $display_submitted || $terms): ?>
<div class="clearfix node-info">
<?php print $user_picture; ?>
<?php if ($display_submitted):?>
@@ -106,6 +107,7 @@
<div class="terms"><?php print $terms; ?></div>
<?php endif; ?>
</div>
+ <?php endif; ?>
<div class="clearfix">
<?php print render($content['comments']); ?>