-
AuthorPosts
-
jimmiehendriks Friend
jimmiehendriks
- Join date:
- March 2008
- Posts:
- 33
- Downloads:
- 2
- Uploads:
- 2
- Thanked:
- 2 times in 2 posts
January 5, 2016 at 5:45 pm #839322Hello, 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 5, 2016 at 5:55 pm #839329Hi
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 Friendjimmiehendriks
- Join date:
- March 2008
- Posts:
- 33
- Downloads:
- 2
- Uploads:
- 2
- Thanked:
- 2 times in 2 posts
January 5, 2016 at 6:25 pm #839356Yeah 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 5, 2016 at 6:50 pm #839371Hi
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_jamassheadNow 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. -
AuthorPosts
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