• 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

Display Widget On Mobile Only

This code enables you to show a widget only when the screen reaches a specific width. You can use this solution on any existing widget area or for adding a new mobile only widget area to your Genesis child theme.

Demo Video

Here’s the demo video which shows you the widget displaying once the screen width hits 1200px.

Here’s the code you can use to create a new widget area or simply use the CSS with your existing widget class:

Register for full access

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