Shape 5

Joomla Templates => General Contractor - Club => : fgevic November 11, 2015, 08:49:54 AM



: Logo is shown on two positions
: fgevic November 11, 2015, 08:49:54 AM
Hello,

My logo is published on the module position logo.
Now I see the logo twice: one at the top and one at the bottom of the page.
I don't want the logo at the bottom.
How do I change that?

Best Regards,

Felix


: Re: Logo is shown on two positions
: jonahh November 11, 2015, 01:50:06 PM
Hello,

To remove at the bottom you'll need to open up the index.php file and remove the following code as we designed the template to show the logo in both locations:

:
<?php if($s5_logo_type != "none") { ?>
<div id="s5_logo_wrap2" class="s5_logo s5_logo_<?php echo $s5_logo_type?>">
<?php if ($s5_logo_type == "css") { ?>
<img alt="logo" src="<?php echo $s5_directory_path ?>/images/s5_logo.png" onclick="window.document.location.href='<?php echo $LiveSiteUrl?>'" />
<?php ?>
<?php if ($s5_logo_type == "image") { 
if(strrpos($s5_logo_image_file,"ttp://") > 0) { ?>

<img alt="logo" src="<?php echo $s5_logo_image_file?>" onclick="window.document.location.href='<?php echo $LiveSiteUrl ?>'" />
<?php } else { ?>
<img alt="logo" src="<?php echo $LiveSiteUrl; echo $s5_logo_image_file?>" onclick="window.document.location.href='<?php echo $LiveSiteUrl ?>'" />
<?php ?>
<?php ?>
<?php if ($s5_pos_logo == "published" && $s5_logo_type == "module") { ?>
<div id="s5_logo_text_wrap">
<?php s5_module_call('logo','notitle'); ?>
<div style="clear:both;"></div>
</div>
<?php ?>
<?php if ($s5_logo_type == "text") { ?>
<div id="s5_logo_text_wrap">
<?php echo $s5_logo_text?>
<div style="clear:both;"></div>
</div>
<?php ?>
<div style="clear:both;"></div>
</div>
<?php ?>