All you are doing with the css is adding a background to the logo. Like keneso says, you have to remove the logo in order for that css to work. If you want to remove it from mobile devices, I would suggest adding a copy of mobiledetect to your includes/functions/extra_functions folder, make a copy of includes/languages/english/header.php and add it to your current folder as in includes/languages/english/YOUR_CURRENT_THEME/header.php.
Add this after line 9
PHP Code:
$detect = new Mobile_Detect;
Replace lines 23 to 25
PHP Code:
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');
with
PHP Code:
if ( $detect->isMobile() ) {
define('HEADER_LOGO_WIDTH', '?px');
define('HEADER_LOGO_HEIGHT', '?px');
define('HEADER_LOGO_IMAGE', 'new_logo');
} else {
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');
}
Change new_logo and ?px with your new image and dimensions for it.
Bookmarks