Different Sized Header Image On Mobiles Using Infinity Pro

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.

Desktop header image

This is the image for mobiles which is 200px by 260px.

Mobile header image

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.

Download Folder

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.