Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #1021483

    Hi
    Can u share the URL of page Here so that i can check it for you.

    Regards

    billrust Friend
    #1021669

    https://dinntecous.com/dinnteco-ddce

    Top line should be H1, 2nd line should be H2.

    Thanks,
    Bill

    Pankaj Sharma Moderator
    #1021941

    Hi The access of the site is forbidden for me 403: Access Forbidden

    Try this if it works: Open components/com_content/views/article/tmpl/default.php

    Find

        <h2 itemprop="name">
                <?php if ($params->get('show_title')) : ?>
                    <?php echo $this->escape($this->item->title); ?>
                <?php endif; ?>
            </h2>

    Change h2 with h1.

    Regards

    billrust Friend
    #1022211

    Hi The access of the site is forbidden for me 403: Access Forbidden

    It already says h2 in the template file.

    I have unblocked India.

    Thanks, Bill

    Pankaj Sharma Moderator
    #1022395

    Hi
    I am not sure if you have any override for this.
    Kindly post the site super user details and FTP account details i Have to check it directly on your site.
    Use Private reply to send this information.

    Regards

    billrust Friend
    #1022644
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #1022762

    Hi
    I got the problem, Actually there was confusion, The URL is featured article,
    Please open /components/com_content/views/featured/tmpl/default_items.php

    Find

    <h2 class="item-title" itemprop="headline">
        <?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
            <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url">
                <?php echo $this->escape($this->item->title); ?>
            </a>
        <?php else : ?>
            <?php echo $this->escape($this->item->title); ?>
        <?php endif; ?>
        </h2>

    Change h2 with h1.
    Sorry for confusion and delay due to confusion in the thread.

    Regards

    billrust Friend
    #1022936
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #1022946

    Hi
    I fixed it directly on your site.
    See the title now http://prntscr.com/epx5ij
    I created an override file "/html/com_content/article/default.php" in template "t3_bs3_blank".

    Its is article title.

    Regards

    billrust Friend
    #1022947

    Hi
    I fixed it directly on your site.

    Ok great, thank you very much!

    Bill

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  billrust 7 years ago.

The topic ‘Change Article Title to H2?’ is closed to new replies.