caskew2154
1/23/2020 - 10:08 AM

Account Icon/Text Replace

Used with conditional to show Account + Icon when user is logged out.

var $ = jQuery;
	$(window).on('load', function() {
		$('.header-nav .account-item span').replaceWith('<span class="account-item-text">Account</span><i class="icon-user"></i>')
	});
.account-item a {
	display: flex;
  flex-direction: column-reverse;
  justify-content: center;
}