Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • indochinatreks Friend
    #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 Moderator
    #556606

    Hi

    <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

    indochinatreks Friend
    #570902

    Hi 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 Moderator
    #570904

    Hi

    I checked your url and it works fine

    Check better your home


    1. Screenshot_11
    indochinatreks Friend
    #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.com

    indochinatreks Friend
    #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.com

Viewing 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