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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Replace Video With Image When Genesis Mobile Menu Is Active – Infinity Pro Front Page 1

This solution extends the code in this tutorial which replaces the front page 1 background image with a video. In this case, the background image is only replaced on desktops when the screen width is above 800px.

By default, the Infinity Pro theme replaces the desktop menu with a mobile menu below 800px.

Here’s the desktop ( above 800px width ) view on the left and the mobile ( below 800px width ) view on mobiles.

Replace image with video on desktop screens
Desktop Screens
Replace video with image on mobile screens
Mobile Screens

Demo Video #

Shows the self hosted MP4 video displaying on desktops behind the front page 1 widget area in Infinity Pro and the background image replacing the video at the same time the Genesis responsive menu is activated.

Code Installation #

There’s 3 steps :

Register for full access

Infinity Pro Theme Video

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