This solution enables you to change the header image on mobiles using the Infinity Pro child theme by StudioPress.
This is the image for desktops which is 400px by 130px and displays at 200px by 65px.
This is the image for mobiles which is 200px by 260px.
The mobile header image displays at the same width the mobile menu is activated.
Demo Video #
Shows the mobile header image displayed at the same time the mobile nav menu is activated replacing the header image displayed on desktop screens.
Note : This solution should work fine in most Genesis child themes however you ay need to modify the value for the width and min-height properties.
Installation Steps #
There’s 2 steps :
Step 1 – Upload your mobile image named Mobile.png to the Infinity Pro themes images folder.
Step 2 – Paste the following CSS to the end of your Infinity Pro themes style.css file and clear caching.
Was This Tutorial Helpful?