Skip to content

Commit

Permalink
A couple of tweaks to the header section
Browse files Browse the repository at this point in the history
Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Aug 9, 2015
1 parent d57bc27 commit e88f781
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
7 changes: 3 additions & 4 deletions themes/default/css/index.css
Expand Up @@ -809,21 +809,20 @@ a.bbc_link {
}
/* The main title. */
#forumtitle, .rightheader #forumtitle {
float: left;
padding: 10px 10px 6px 13px;
font-size: 2.357em;
line-height: 1.455em;
}
.centerheader #forumtitle {
.centerheader .forumlink {
display: none;
}
.rightheader #forumtitle {
.rightheader #forumtitle .forumlink {
float: right;
}
/* Float these items to the right. @todo - Simplify. */
#logobox, .rightheader #logobox {
float: right;
padding: 0.95em 12px 0 12px;
padding: 0 12px 0 12px;
max-width: 40%;
}
.centerheader #logobox {
Expand Down
3 changes: 1 addition & 2 deletions themes/default/css/rtl.css
Expand Up @@ -181,10 +181,9 @@ h2 a.collapse {
}
/* The main title. */
#forumtitle, .rightheader #forumtitle {
float: right;
padding: 10px 13px 6px 10px;
}
.rightheader #forumtitle {
.rightheader #forumtitle .forumlink {
float: left;
}
/* Float these items to the right. @todo - Simplify. */
Expand Down
12 changes: 6 additions & 6 deletions themes/default/index.template.php
Expand Up @@ -234,14 +234,14 @@ function template_body_above()
</div>
<div id="header" class="wrapper', !empty($settings['header_layout']) ? ($settings['header_layout'] == 1 ? ' centerheader' : ' rightheader') : '', '"', empty($context['minmax_preferences']['upshrink']) ? '' : ' style="display: none;" aria-hidden="true"', '>
<h1 id="forumtitle">
<a href="', $scripturl, '">', $context['forum_name'], '</a>
</h1>';
<a class="forumlink" href="', $scripturl, '">', $context['forum_name'], '</a>';

echo '
<div id="logobox">
<img id="logo" src="', $context['header_logo_url_html_safe'], '" alt="', $context['forum_name_html_safe'], '" title="', $context['forum_name_html_safe'], '" />', empty($settings['site_slogan']) ? '' : '
<div id="siteslogan">' . $settings['site_slogan'] . '</div>', '
</div>';
<div id="logobox">
<img id="logo" src="', $context['header_logo_url_html_safe'], '" alt="', $context['forum_name_html_safe'], '" title="', $context['forum_name_html_safe'], '" />', empty($settings['site_slogan']) ? '' : '
<div id="siteslogan">' . $settings['site_slogan'] . '</div>', '
</div>
</h1>';

// Show the menu here, according to the menu sub template.
echo '
Expand Down

0 comments on commit e88f781

Please sign in to comment.