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

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.