Subscribe to Our Newsletter

x

Conditional Content: How to Add Elements to Certain Devices

Want to have a specific element show up only for desktop users, and not users on tablets or mobile devices? Perhaps for a specific ad code or custom HTML setup that's only meant for one device.

We have the right tool to facilitate this sort of control over your site, and it's called the Conditional Content element.

By inserting an element you want specific control over inside of the Conditional Content element, you can create different experiences for mobile, tablet, and desktop users.

You can add the Conditional Content element to any part of your layout with the + ADD ELEMENT action in the Layout & Design tool.


Once the Conditional Content element is inserted, you can place new elements inside of it, such as Header Code.

In the drop-down menu of the Properties card, you can choose if you want the conditional content to be shown in mobile, tablet, or desktop views.

If you choose "Tablet" and you're in desktop view, or "Mobile" and you're in tablet view, and so on, don't worry — the element hasn't disappeared. It's only visible in the viewport when it's called to be displayed.

Bear in mind that if you want an element to display on desktop and tablet, for example, you'll have to create two different Conditional Content elements with the same element inside of each.

On Desktop

On Tablet

On Mobile

You're almost there! Fill out the form below and a Rebel will contact you within one business day.

x

How to Fix the Post Preview Bug Due to Connatix Video Ads

Some users have reported that when previewing a post in the Entry Editor with a Connatix video ad embedded, the video takes over the entire screen like in the following example:

Keep reading... Show less

You're almost there! Fill out the form below and a Rebel will contact you within one business day.

x

Changing the World on Behalf of Millennial Mothers

Motherly is a new media property redefining motherhood. Created by women for women, their mission is one of empowerment to support women on their unmatched journey to mommyhood. Founded in 2015 by serial entrepreneur Jill Koziol and award-winning Washington Post digital strategist Liz Tenety, Motherly leads the effort in curating female-driven content that builds strong communities through the power of dynamic, multiplatform storytelling.

Keep reading... Show less

NEW! End of Summer 2018 Product Updates

It's almost the end of summer 2018 and we have some awesome product updates to announce! Here's what's new: scheduling posts to be unpublished, a copyright option for Facebook Instant Articles, Keywee and Parse.ly integrations for Facebook Instant Articles, parent/child relationships for sections in the dashboard, a scheduled filter for community-enabled dashboards, and a Google Search Console integration for the Entry Editor. There's a lot to unpack here, we know! So continue on below for more details on each announcement.

Keep reading... Show less