Skip to content

Commit

Permalink
Fix dashicons font issue in wp-login.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
clavaque committed Oct 19, 2020
1 parent 05ff4ae commit c53be4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/includes/classes/login-customizations.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public static function login_header_styles()

$a[] = 'body, body * { font-size:'.$GLOBALS['WS_PLUGIN__']['s2member']['o']['login_reg_font_size'].$i.'; }';
$a[] = 'body, body * { font-family:'.$GLOBALS['WS_PLUGIN__']['s2member']['o']['login_reg_font_family'].$i.'; }';

$a[] = '.dashicons { font-family:dashicons'.$i.'; }';

$a[] = 'div#login { width: 100% '.$i.'; max-width:'.$GLOBALS['WS_PLUGIN__']['s2member']['o']['login_reg_logo_src_width'].'px'.$i.'; }';
$a[] = 'div#login h1 a { background:url('.$GLOBALS['WS_PLUGIN__']['s2member']['o']['login_reg_logo_src'].') no-repeat top center'.$i.'; background-size:contain'.$i.'; }';
$a[] = 'div#login h1 a { display:block'.$i.'; width:100%'.$i.'; height:'.$GLOBALS['WS_PLUGIN__']['s2member']['o']['login_reg_logo_src_height'].'px'.$i.'; }';
Expand Down

0 comments on commit c53be4d

Please sign in to comment.