October 12, 2014 at 1:05 pm
Hi everyone,
I have made several changes in Virtue Theme using a child theme in order to modify HTML tag to have a correct hierarchy.
header.php in templates directory at line 23 to have my description to be site title (because I’m using an image as site title)
<H1 class="kad_tagline belowlogo-text"><?php echo $virtue_premium['logo_below_text']; ?></H1>
blog-home.php in templates/home directory at line 56 to have a correct hierarchy with home layout manager + last blog posts (H3 last blog posts title and H4 for blog title instead of H5)
<a href="<?php the_permalink() ?>"><h4 class="entry-title"><?php the_title(); ?></h4></a>
portfolio-carousel.php in templates/home directory at line 115 to have a correct hierarchy with home layout manager + portfolio carousel (H3 portfolio carousel title and H4 for portfolio title instead of H5)
BUT
I don’t manage to modify H4 tag (I want it to be H2) of Virtue: Info Box widget that I add to home widget area and home layout manager. Even if I modify icon-menu.php at line 21
<?php if ($icon['title'] != '') echo '<h2>'.$icon['title'].'</h2>'; ?>
Is that the correct file to modidy? Thanks for your help