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 Add Google Forms to a Static Page

The easiest way to add forms to your RebelMouse site is to use Google Forms, which embeds right into the code of your page. Here's a step-by-step guide.

Keep reading... Show less

Create a Winning SEO Strategy with Related Articles

One of the staples of our Entry Editor is the ability to optimize your article for search while it's still in draft mode. You can customize the SEO headline, description, and even the URL slug of each post before it's published.

Keep reading... Show less

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

x