Skip to content

Commit

Permalink
INTERIM-149 Change i elements to span (#161)
Browse files Browse the repository at this point in the history
* INTERIM-149 Update sitemap and site index with span

..instead of i

* INTERIM-149 Update social media icons to use span
  • Loading branch information
angelamnr authored Mar 2, 2018
1 parent 08b748e commit 48aa39b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion template.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ function suitcase_interim_menu_link__menu_social($variables) {
}

if (!empty($font_awesome_icon)) {
$element['#title'] = '<i class="fa ' . $font_awesome_icon . '" aria-hidden="true"></i><span class="social-title"> ' . $element['#title'] . '</span>';
$element['#title'] = '<span class="fa ' . $font_awesome_icon . '" aria-hidden="true"></span><span class="social-title"> ' . $element['#title'] . '</span>';
$element['#localized_options']['html'] = TRUE;
}

Expand Down
4 changes: 2 additions & 2 deletions templates/default_region_content_blocks/footer_third.tpl.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<ul class="menu">
<li class="first leaf">
<a href="<?php print (module_exists('token_filter') ? '[site:url]' : $GLOBALS['base_path']); ?>site-index"><i class="fa fa-list-ul" aria-hidden="true"></i>Site Index</a>
<a href="<?php print (module_exists('token_filter') ? '[site:url]' : $GLOBALS['base_path']); ?>site-index"><span class="fa fa-list-ul" aria-hidden="true"></span>Site Index</a>
</li>
<li class="last leaf">
<a href="<?php print (module_exists('token_filter') ? '[site:url]' : $GLOBALS['base_path']); ?>sitemap" title="Display a site map with RSS feeds."><i class="fa fa-sitemap" aria-hidden="true"></i>Site map</a>
<a href="<?php print (module_exists('token_filter') ? '[site:url]' : $GLOBALS['base_path']); ?>sitemap" title="Display a site map with RSS feeds."><span class="fa fa-sitemap" aria-hidden="true"></span>Site map</a>
</li>
</ul>

0 comments on commit 48aa39b

Please sign in to comment.