diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 13:57:19 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 13:57:19 +0000 |
commit | d87d9af6361ceafd0fe2d53689a0f345af00797f (patch) | |
tree | cb975aadd9b22d18ac0f07f6e4bfc973dad4e29e /views | |
parent | a929e5747822e787e6f2d134f73b696183679f2c (diff) | |
download | elgg-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.php | 7 | ||||
-rw-r--r-- | views/default/page_elements/header.php | 3 |
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 |