Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Adrien GEORGE Friend
    #193286

    Hi there,
    I was wondering how to get titles for my K2 items in H1 instead of H3 (this is SEO suicide)
    Please have a look there :
    http://www.ekipazofootball.com/fr/actu-maillots-de-foot/maillot-retro-boca-junior-2013.html

    Thanks in advance,
    Adrien

    TomC Moderator
    #516692

    Can you not modify the relative CSS so that your K2 titles/headings are within the h1 rules – or vice versa?

    Nazario A Friend
    #516828

    Hi thuraminho,

    <blockquote>Hi there,
    I was wondering how to get titles for my K2 items in H1 instead of H3 (this is SEO suicide)
    Please have a look there :
    http://www.ekipazofootball.com/fr/ac…nior-2013.html</blockquote>

    You can change the title size from h3 to h1 in this file: /templates/ja_vintas/html/com_k2/ja_vintas_blog/item.php

    In this code:

    <div class="itemHeader">
    <?php if($this->item->params->get('itemTitle')): ?>
    <!-- Item title -->
    <h3 class="itemTitle">
    <?php if(isset($this->item->editLink)): ?>
    <!-- Item edit link -->
    <span class="itemEditLink">
    <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>">
    <?php echo JText::_('K2_EDIT_ITEM'); ?>
    </a>
    </span>
    <?php endif; ?>

    <?php echo $this->item->title; ?>
    <?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
    <!-- Featured flag -->
    <span>
    <sup>
    <?php echo JText::_('K2_FEATURED'); ?>
    </sup>
    </span>
    <?php endif; ?>
    </h3>
    <?php endif; ?>
    </div>

    Change from ‘h3’ to ‘h1’

    Let me know if this helps

    Adrien GEORGE Friend
    #517005

    Thanks so much ! You rock !

    <em>@Nazario A 403795 wrote:</em><blockquote>Hi thuraminho,

    You can change the title size from h3 to h1 in this file: /templates/ja_vintas/html/com_k2/ja_vintas_blog/item.php

    In this code:

    <div class="itemHeader">
    <?php if($this->item->params->get('itemTitle')): ?>
    <!-- Item title -->
    <h3 class="itemTitle">
    <?php if(isset($this->item->editLink)): ?>
    <!-- Item edit link -->
    <span class="itemEditLink">
    <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>">
    <?php echo JText::_('K2_EDIT_ITEM'); ?>
    </a>
    </span>
    <?php endif; ?>

    <?php echo $this->item->title; ?>
    <?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
    <!-- Featured flag -->
    <span>
    <sup>
    <?php echo JText::_('K2_FEATURED'); ?>
    </sup>
    </span>
    <?php endif; ?>
    </h3>
    <?php endif; ?>
    </div>

    Change from ‘h3’ to ‘h1’

    Let me know if this helps</blockquote>

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

This topic contains 4 replies, has 3 voices, and was last updated by  Adrien GEORGE 10 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum