• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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

  • Different Logo For Desktop and Mobile Using Outreach Pro

Header Image Infinity Pro Theme

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems