Skip to content

Commit

Permalink
email and phone icons now display contact info on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSibley committed Apr 2, 2020
1 parent 13030a9 commit 678ed06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ function ct_apex_social_icons_output( $source ) {
<li>
<a class="email" target="_blank"
href="mailto:<?php echo antispambot( is_email( get_theme_mod( $key ) ) ); ?>">
<i class="fas fa-envelope" title="<?php echo esc_attr_x( 'email', 'noun', 'apex' ); ?>"></i>
<i class="fas fa-envelope" title="<?php echo antispambot( is_email( get_theme_mod( $key ) ) ); ?>"></i>
<span class="screen-reader-text"><?php echo esc_html_x('email', 'noun', 'apex'); ?></span>
</a>
</li>
Expand All @@ -475,7 +475,7 @@ function ct_apex_social_icons_output( $source ) {
<li>
<a class="<?php echo esc_attr( $active_site ); ?>" target="_blank"
href="<?php echo esc_url( get_theme_mod( $active_site ), array( 'tel' ) ); ?>">
<i class="<?php echo esc_attr( $class ); ?>"></i>
<i class="<?php echo esc_attr( $class ); ?>" title="<?php echo str_replace( 'tel:', '', esc_url( get_theme_mod( $active_site ), array( 'tel' ) ) ); ?>"></i>
<span class="screen-reader-text"><?php echo esc_html( $active_site ); ?></span>
</a>
</li>
Expand Down

0 comments on commit 678ed06

Please sign in to comment.