aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 13:57:19 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 13:57:19 +0000
commitd87d9af6361ceafd0fe2d53689a0f345af00797f (patch)
treecb975aadd9b22d18ac0f07f6e4bfc973dad4e29e /views
parenta929e5747822e787e6f2d134f73b696183679f2c (diff)
downloadelgg-d87d9af6361ceafd0fe2d53689a0f345af00797f.tar.gz
elgg-d87d9af6361ceafd0fe2d53689a0f345af00797f.tar.bz2
Separating sitename and title in the header
git-svn-id: https://code.elgg.org/elgg/trunk@362 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/css.php7
-rw-r--r--views/default/page_elements/header.php3
2 files changed, 9 insertions, 1 deletions
diff --git a/views/default/css.php b/views/default/css.php
index 48dbcd52d..5d4415009 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -113,6 +113,13 @@ div#header h1 {
margin:10px 0 6px 0;
}
+div#header h2 {
+ font-size:20px;
+ padding:20px 0 0 0;
+ margin:10px 0 6px 0;
+ color: #fff;
+}
+
div#header h1 a{
color:#fff;
font-family:Helvetica, "Myriad Web", Arial, sans-serif;
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index a4de86c21..fdf2e7eca 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -39,7 +39,8 @@
<div id="container">
<div id="header">
<!-- display the page title -->
- <h1><a href="<?php echo $vars['url']; ?>"><?php echo $title; ?></a></h1>
+ <h1><a href="<?php echo $vars['url']; ?>"><?php echo $vars['sitename']; ?></a></h1>
+ <h2><?php echo $vars['title']; ?></h2>
<!-- display top level navigation -->
<?php echo elgg_view('navigation/topmenu'); ?>
</div><!-- close the header div --> \ No newline at end of file