Product Updates + Strategy

Conditional Content: how to add elements to certain devices

Conditional Content: how to add elements to certain devices

Want to have a specific element only in Desktop, but not on Tablet or Mobile?
Maybe an ad code, or a custom html set up that's only meant for one device.

Don't worry -- we have the right element to facilitate that option for your site: the Conditional Content element.

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

You can add it to any part of your layout with the + tool:

[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2F78923750-7278-4b61-9529-bf79571d8800%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=751&h=7c4d8ea6fc5319ce245fad0c0327a2d450d8653b92ac4ed277730086bdde1de4&size=980x&c=1085294058 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252F78923750-7278-4b61-9529-bf79571d8800%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D751%26h%3D7c4d8ea6fc5319ce245fad0c0327a2d450d8653b92ac4ed277730086bdde1de4%26size%3D980x%26c%3D1085294058%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""]

Once the Conditional Content element is placed, you will be able to place new elements inside of it, like a Header Code.

[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2F6d004329-d216-4466-9368-015a4e0c1124%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=82&h=a1323e94f183dd57dfa61d96617a534551c85d7402c490fb72f8303a821b224e&size=980x&c=1101328845 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252F6d004329-d216-4466-9368-015a4e0c1124%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D82%26h%3Da1323e94f183dd57dfa61d96617a534551c85d7402c490fb72f8303a821b224e%26size%3D980x%26c%3D1101328845%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""]

In the dropdown, you'll be able to choose if you want the Conditional Content to be placed in Desktop, Tablet, Mobile:

[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2F89497b36-a993-4d8a-a58e-278a1e6b74f3%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=1019&h=f3c3004f2c492e12c4e4dfc7f44138ffb43b0bdc267389b938fd80a417052946&size=980x&c=1514042218 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252F89497b36-a993-4d8a-a58e-278a1e6b74f3%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D1019%26h%3Df3c3004f2c492e12c4e4dfc7f44138ffb43b0bdc267389b938fd80a417052946%26size%3D980x%26c%3D1514042218%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""]

If you choose Tablet and you're in Desktop view, or Mobile and you're in Tablet view and so forth, don't worry, the element hasn't disappeared, it's only visible in the viewport where it will be displayed.

Bear in mind that if you want an element to display on Desktop and on Tablet for example, you'll have to create two different Conditional Content elements with the same 'Lead Media' element (for example) inside of it.

On Desktop:

[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2F58ed1544-4d47-4f81-8e0c-aae57d046bc0%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=229&h=fb460ff811730e361fe2d974f294086bd405751a6556e481998bac3cfc8107e8&size=980x&c=4210160278 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252F58ed1544-4d47-4f81-8e0c-aae57d046bc0%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D229%26h%3Dfb460ff811730e361fe2d974f294086bd405751a6556e481998bac3cfc8107e8%26size%3D980x%26c%3D4210160278%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""]

On Tablet:

[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2F136d49b7-aca5-4f75-b35a-6c3a404ca621%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=641&h=c341f2ed14a6676065602e208946cf35a51e3f955177280471e24051be9f1bc2&size=980x&c=3935523589 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252F136d49b7-aca5-4f75-b35a-6c3a404ca621%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D641%26h%3Dc341f2ed14a6676065602e208946cf35a51e3f955177280471e24051be9f1bc2%26size%3D980x%26c%3D3935523589%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""]

On Mobile:

[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2F6a94f7b7-48b4-45d0-a580-cbd279541313%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=770&h=292c0f805a67fe565054a7d4eed3ef3fcb1e8f9fb3c90f70deee6455a9c32ba6&size=980x&c=2657868290 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252F6a94f7b7-48b4-45d0-a580-cbd279541313%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D770%26h%3D292c0f805a67fe565054a7d4eed3ef3fcb1e8f9fb3c90f70deee6455a9c32ba6%26size%3D980x%26c%3D2657868290%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""]

What Is RebelMouse?
Request a Proposal
subscription model for publishers
Rebel Insights

In 2023, Publishers Take Back Control With Subscription Success

Users are ready to pay for content that delivers

The Rise of the Mature User

It's been a long and winding path, but in 2023 the subscription model continues its upward trajectory as a top revenue strategy for publishers of all sizes. The tug of war between platforms and publishers reached its peak in the last few years of the previous decade, leaving users desperate for a modern user experience that's clear of any clutter from the duopoly that is Google and Facebook. This is why intelligent paywall models are a top choice for users looking to consume content right from the source. When done correctly, the strategy can work for any type of media. The New York Times, a frequent showpiece example of the power of paywalls, is constantly reporting record-busting subscription numbers, with 7.6 million digital subscriptions in 2021.

And it all makes perfect sense. The subscription model eliminates the middleman — such as the platforms — so readers get the experience and content they want, and publishers get the cash they need.

Keep reading...Show less
The Most Secure CMS of 2023
Featured

The Most Secure CMS of 2023

Why RebelMouse Is the Most Secure CMS on the Web

Delivering a secure, high-performing environment with extreme reliability is essential to all of our clients at RebelMouse. We only use industry-leading, reliable approaches to host our infrastructure. This ensures maximum stability and security for all of our clients’ data. Here are just some of the reasons we’re able to maintain a hard-bodied product that’s flexible, too.

Keep reading...Show less
Interested in a Free Website Health Check?Check Your
Website's Health
Get Your Free Analysis Now