Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: Header on mobile

New Front EN Support Forums Kanso Theme Support Header on mobile Reply To: Header on mobile

#3557
thoughton
Participant

Hmm, I thought I had read almost every post on this forum yesterday, but today I found this one which was quite useful.

Adding this to my Kanso-child style.css file:

@media only screen and (max-width: 767px) {
#logo img { max-height: 75px; }
}

This appears to have fixed the ‘wiggle’ problem on iPhone. I imagine changing the media query will fix it on iPad as well.

Andrii, can you see any problems with this approach? I would prefer to conditionally not load the relevant javascript if possible as that would help reduce page size (a battle I’ve been fighting! Down from 7.5MB to 4.3MB so far…)

  • This reply was modified 9 years, 11 months ago by thoughton.