aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/css/elements/base.php5
-rw-r--r--views/default/layout/shells/one_column_with_sidebar.php2
2 files changed, 5 insertions, 2 deletions
diff --git a/views/default/css/elements/base.php b/views/default/css/elements/base.php
index af050deac..5ba21909a 100644
--- a/views/default/css/elements/base.php
+++ b/views/default/css/elements/base.php
@@ -20,9 +20,12 @@
.hidden {
display:none;
}
-.center {
+.centered {
margin:0 auto;
}
+.center {
+ text-align: center;
+}
<?php //@todo move to core.php ?>
/**
diff --git a/views/default/layout/shells/one_column_with_sidebar.php b/views/default/layout/shells/one_column_with_sidebar.php
index 0705e9766..cbf542174 100644
--- a/views/default/layout/shells/one_column_with_sidebar.php
+++ b/views/default/layout/shells/one_column_with_sidebar.php
@@ -10,7 +10,7 @@
*/
?>
-<div class="elgg-layout-sidebar center clearfix" style="width: 990px;">
+<div class="elgg-layout-sidebar centered clearfix" style="width: 990px;">
<div class="elgg-sidebar elgg-aside">
<?php
echo elgg_view('layout/elements/sidebar', $vars);