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 6 years, 10 months ago by thoughton.