Skip to main content
Topic: [Help] change the place of the logo. (Read 2699 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Help] change the place of the logo.

Hello i'm kinda confused where to go and what to do.. i want to change the place of the logo to be at LEFT instead of the FORUM TITLE and i want when someone click on it to redirect it to the main page! Can someone please help!!

Re: [Help] change the place of the logo.

Reply #1

index.template.php

find:
Code: [Select]
	echo '
</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 class="forumlink" href="', $scripturl, '">', $context['forum_name'], '</a>';

echo '
<span 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']) ? '' : '
<span id="siteslogan">' . $settings['site_slogan'] . '</span>', '
</span>
</h1>';

replace:
Code: [Select]
	echo '
</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 class="forumlink" href="', $scripturl, '"><img src="', $context['header_logo_url_html_safe'], '" alt="', $context['forum_name_html_safe'], '" title="', $context['forum_name_html_safe'], '" /></a>';

echo '
<span id="logobox">
', empty($settings['site_slogan']) ? '' : '
<span id="siteslogan">' . $settings['site_slogan'] . '</span>', '
</span>
</h1>';
Sorry for my English

Re: [Help] change the place of the logo.

Reply #2

Hi and welcome to elk.net. :)

admin > configuration > current theme
And then change the option Header layout as you prefer. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: [Help] change the place of the logo.

Reply #3

Thank you guys for the fast reply! i really appeciate your help, i think i need to take a long tour in this forum options and remember them lol
Wiseouz / Ouzy Apps / BlenderHive