test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jimmiehendriks Friend
    #839322

    Hello, For better SEO it is still better to start with some h1 in a website. I discoverd I don’t have any h1 . You don’t have it in your demo. I use the SPOTLIGHTs in JA Nuevo. They are h3 . I want to change this to h1 but do not know how?

    <!-- SPOTLIGHT 1 -->
    <div class="container t3-sl t3-sl-1">
        <h3 class="t3-sl-title">
            <span>Waar zijn wij goed in</span>
        </h3>
            <!-- SPOTLIGHT -->
    pavit Moderator
    #839329

    Hi

    You can edit this file /templates/ja_nuevo/tpls/blocks/spotlight-1.php and change as showed below

    From :

    <div class="container t3-sl t3-sl-1">
    <h3 class="t3-sl-title">
    <span><?php echo JText::_( 'TPL_SPOTLIGHT_TITLE' ); ?></span>
    </h3>
    <?php $this->spotlight('spotlight-1', 'position-1, position-2, position-3, position-4') ?>
    </div>

    To :

    <div class="container t3-sl t3-sl-1">
    <h1 class="t3-sl-title">
    <span><?php echo JText::_( 'TPL_SPOTLIGHT_TITLE' ); ?></span>
    </h1>
    <?php $this->spotlight('spotlight-1', 'position-1, position-2, position-3, position-4') ?>
    </div>

    Best regards

    jimmiehendriks Friend
    #839356

    Yeah Pavit, great!

    I hoped to change this also in masthead.php… but there is no h tag 🙂 Do you know where?

    <!-- MASTHEAD -->
    <div class="wrap t3-masthead ">
        <div class="jamasshead">
    <h3 class="jamasshead-title">Specialisatie </h3>
    <div class="jamasshead-description">Laser div>

    pavit Moderator
    #839371

    Hi

    Open this file /modules/mod_jamasshead/tmpl/default.php and change to h1 the h3 references

    <div class="jamasshead<?php echo $params->get('moduleclass_sfx','')?>">
        <h3 class="jamasshead-title"><?php echo $masshead['title']; ?></h3>
        <div class="jamasshead-description"><?php echo $masshead['description']; ?></div>
    </div>

    Anyway would be better if you will override this module into /templates/ja_nuevo/html folder , to do this follow these steps
    1) Go to template manager -> on the top left you have 2 menu items Style and templates
    2) Click on templates
    3) Click on ja nuevo template
    4) Switch to Create Overrides
    5) click on mod_jamasshead

    Now you have an overrided module ja masshead in this folder /templates/ja_nuevo/html/mod_jamasshead
    so you can edit the file default.php as suggested above.

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

This topic contains 3 replies, has 2 voices, and was last updated by  pavit 8 years, 11 months ago.

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