-
AuthorPosts
-
November 26, 2014 at 7:01 am #203063
Hi,
I am using Ja – Travel. Can anyone tell me how to:
1. Remove the H1 tag from Logo?
2. Add the H1 tag to article titile?
Thanks!pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 26, 2014 at 8:33 am #556606Hi
<blockquote>1. Remove the H1 tag from Logo?</blockquote>
Open this file templatesja_travelblocksheader.php
<h1 class="logo">
<a href="<?php JURI::base(true) ?>" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>Remove the h1 class
<blockquote>2. Add the H1 tag to article titile?</blockquote>
open this file templatesja_travelhtmlcom_contentarticledefault.php
<?php if ($params->get('show_title')) : ?>
<h2>
<?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
<a href="<?php echo $this->item->readmore_link; ?>">
<?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
<?php if ($canEdit) : ?>
<span class="edit-icon">
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
</span>
<?php endif; ?>
</h2>
<?php endif; ?>Change the h2 to h1
May 18, 2015 at 9:11 am #570902Hi Pavit,
I tried to change the H1 tag. The problem is the the logo image disappear and the site name only shows.
Can you let me know how fixing this?pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 18, 2015 at 9:24 am #570904May 19, 2015 at 2:03 am #571009<em>@pavit 473827 wrote:</em><blockquote>Hi
I checked your url and it works fine
Check better your home</blockquote>
Hi Pavit,
Your image shows that logo is till h1.
Just successfully made the change. I changed H1 to H2 in the header.php file and change other related css class of H1 to H2 in the template.css files in both the template and basetheme. It’s fine now.
Thanks for your kind support!………………………………………..
Indochina Treks Travel Co.,Ltd
http://indochinatreks.comMay 19, 2015 at 2:03 am #736057<em>@pavit 473827 wrote:</em><blockquote>Hi
I checked your url and it works fine
Check better your home</blockquote>
Hi Pavit,
Your image shows that logo is till h1.
Just successfully made the change. I changed H1 to H2 in the header.php file and change other related css class of H1 to H2 in the template.css files in both the template and basetheme. It’s fine now.
Thanks for your kind support!………………………………………..
Indochina Treks Travel Co.,Ltd
http://indochinatreks.comAuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by indochinatreks 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Remove H1 Tag from Logo and add H1 tag to article tille!
Viewing 6 posts - 1 through 6 (of 6 total)