-
AuthorPosts
-
smartmax Friend
smartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
December 2, 2014 at 5:22 pm #203263Hi guys,
A SEO specialist advised that the <H1> code should be removed from the title/logo.
http://www.applicatietechniekvanderwal.nl/
<h1>
<a href=”/” title=”Applicatietechniek van der Wal B.V.” style=”background-image:url(/images/logo.png);”>
<span>Applicatietechniek van der Wal B.V.</span>
</a>
<small class=”site-slogan hidden-phone”>Applicatietechniek van der Wal, partner in kunststofvloeren, bedrijfsvloeren en industrievloeren.</small>
</h1>Can anybody advise me where I can do this without messing up the template :-[
Many thanks!
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
December 2, 2014 at 5:26 pm #557406It would be in tpls/blocks/header.php
smartmax Friendsmartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
December 15, 2014 at 2:39 pm #558707No, that’s not it, now the logo is gone….! :((
“Can anybody advise me where I can do this without messing up the template
Many thanks! “
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 15, 2014 at 5:45 pm #558717Hi @smartmax
As Chavan said above you should edit php file named header.php inside folder templatesja_mitiustplsblocks
starting from line 22 logo is coded in this way
<!-- LOGO -->
<div class="span8">
<div class="logo logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php if($logotype == 'image'): ?>
<img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<?php if($logoimgsm) : ?>
<img class="logo-img-sm visible-phone visible-tablet" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</h1>
</div>
</div>
<!-- //LOGO -->
So you should only remove the <h1> and </h1> tags
smartmax Friendsmartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
December 16, 2014 at 7:36 am #558779Hi Pavit, thank you for you’re answer, But I did that and it removes the complete logo(?)
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/defined('_JEXEC') or die;
$sitename = $this->params->get('sitename') ? $this->params->get('sitename') : JFactory::getConfig()->get('sitename');
$slogan = $this->params->get('slogan');
$logotype = $this->params->get('logotype', 'text');
$logoimage = $logotype == 'image' ? $this->params->get('logoimage', '') : '';
if ($logoimage) {
$logoimage = ' style="background-image:url('.JURI::base(true).'/'.$logoimage.');"';
}
?><!-- HEADER -->
<header id="ja-header" class="ja-header wrap">
<div class="container">
<div class="row"><!-- LOGO -->
<div class="span4">
<div class="logo logo-<?php echo $logotype ?>"><a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small></div>
</div>
<!-- //LOGO --><div class="span8">
<?php if ($this->countModules('new_position')): ?><jdoc:include type="modules" name="<?php $this->_p('new_position') ?>" style="T3Xhtml" />
<?php endif; ?>
</div>
</div></div>
</header>
<!-- //HEADER -->
smartmax Friendsmartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
December 16, 2014 at 7:37 am #558780jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 16, 2014 at 7:57 am #558784Hi there,
It’s basic logical here.
Pavit gave you file and code
<!-- LOGO -->
<div class="span8">
<div class="logo logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php if($logotype == 'image'): ?>
<img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<?php if($logoimgsm) : ?>
<img class="logo-img-sm visible-phone visible-tablet" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</h1>
</div>
</div>
<!-- //LOGO -->
You can remove H1 or REPLACE H1 as your needed . It does not mean you remove all of rest code.Thank you,
Viet Vusmartmax Friendsmartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
December 16, 2014 at 8:05 am #558789I didn’t remove the complete code!
I removed only the </H1> code as you can see above…
I even replaced it with </H3> for a test, but that didn’t work either, the complete logo was gone…
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 16, 2014 at 8:22 am #558793Hi there,
As your prev replied with code. I saw you have completely remove logo code
Please check below code
Here is original from header.php
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/defined('_JEXEC') or die;
$sitename = $this->params->get('sitename');
$slogan = $this->params->get('slogan', '');
$logotype = $this->params->get('logotype', 'text');
$logoimage = $logotype == 'image' ? $this->params->get('logoimage', 'templates/' . T3_TEMPLATE . '/images/logo.png') : '';
$logoimgsm = ($logotype == 'image' && $this->params->get('enable_logoimage_sm', 0)) ? $this->params->get('logoimage_sm', '') : false;?>
<!-- HEADER -->
<header id="ja-header" class="ja-header wrap">
<div class="container">
<div class="row"><!-- LOGO -->
<div class="span8">
<div class="logo logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php if($logotype == 'image'): ?>
<img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<?php if($logoimgsm) : ?>
<img class="logo-img-sm visible-phone visible-tablet" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</h1>
</div>
</div>
<!-- //LOGO --><div class="span4">
</div>
</div></div>
</header>
<!-- //HEADER -->
You want to remove H1 than it should be
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/defined('_JEXEC') or die;
$sitename = $this->params->get('sitename');
$slogan = $this->params->get('slogan', '');
$logotype = $this->params->get('logotype', 'text');
$logoimage = $logotype == 'image' ? $this->params->get('logoimage', 'templates/' . T3_TEMPLATE . '/images/logo.png') : '';
$logoimgsm = ($logotype == 'image' && $this->params->get('enable_logoimage_sm', 0)) ? $this->params->get('logoimage_sm', '') : false;?>
<!-- HEADER -->
<header id="ja-header" class="ja-header wrap">
<div class="container">
<div class="row"><!-- LOGO -->
<div class="span8">
<div class="logo logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
<!-- H1 removed -->
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php if($logotype == 'image'): ?>
<img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<?php if($logoimgsm) : ?>
<img class="logo-img-sm visible-phone visible-tablet" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
<!-- H1 removed -->
</div>
</div>
<!-- //LOGO --><div class="span4">
</div>
</div></div>
</header>
<!-- //HEADER -->
Thank you,
Viet Vusmartmax Friendsmartmax
- Join date:
- May 2008
- Posts:
- 538
- Downloads:
- 159
- Uploads:
- 218
- Thanks:
- 72
- Thanked:
- 7 times in 3 posts
February 26, 2015 at 2:13 pm #560826Hi Viet Vu,
I have lost track on this ‘problem’, but the problem still remains that it shows 2 logos now(?)
I still could use help on this matter :-[
http://www.applicatietechniekvanderwal.nl
There is no logo-image selected in the template
Many thanks in advance!
-
jooservices Friend
jooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
March 1, 2015 at 10:05 am #561052Hi there
# Please let me know exactly what do you need and provide me your FTP access. I’ll help you directly work on it.Thank you,
Viet Vu -
AuthorPosts
Viewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 4 voices, and was last updated by jooservices 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum