<?php
/*
** Template to Render Social Icons on Top Bar
*/
$social_icons_styles = get_theme_mod('sprouts_social_icon_style','default'); ?>

    <div class="social-icons col-md-6 col-sm-12">
<?php for ($i = 1; $i < 8; $i++) :
    $social = esc_attr( get_theme_mod('sprouts_social_'.$i) );
    if ( ($social != 'none') && ($social != '') ) : ?>
        <a class="common <?php echo $social_icons_styles; ?>" href="<?php echo esc_url( get_theme_mod('sprouts_social_url'.$i) ); ?>">
            <i class="fa-fw fa fa-<?php echo $social; ?>"></i>
        </a>
    <?php endif;

endfor; ?>
    </div>

