RebelMouse Talk to Us
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=""]

Interested in a Free Website Health Check?Check Your
Website's Health
Get Your Free Analysis Now
The Most Secure CMS of 2022
Featured

The Most Secure CMS of 2022

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.

Most websites get hacked. RebelMouse has never been hacked.

Keep reading... Show less
Build on a Better PlatformReady to See More?
Request a Proposal
The Subscription Model Is Taking off and Competition Has Never Been Steeper
Rebel Insights

The Subscription Model Is Taking off and Competition Has Never Been Steeper

The post-pandemic user landscape is still ripe for subscription revenue

You can get a subscription for everything these days. Whether it’s a cheese-of-the-month club or annual access to read your favorite content, the subscription-based model has continued to gain steam in recent years. In fact, the market for digital subscriptions is valued at $650 billion according to a new report from Lineup, a subscription management solution.

The power of the subscription model has been growing since even before the COVID-19 crisis began, and isn’t showing any signs of slowing as we enter a post-pandemic landscape. According to What’s New in Publishing, Gannett reported a 46% year-over-year increase in digital subscriptions in November 2021, putting them at 1.5M total subscribers. Hearst grew its digital subscriptions by 50% in 2021.

But subscriptions aren’t just for big name publishers. Users in 2022 are ready to pay up for legacy names and new media companies alike, as long as it’s for an experience that’s beneficial to them, reliable, and free of the clutter that can come from third-party platforms. Speaking of platforms, even TikTok and Instagram have started to gauge their audiences’ temperature on subscription experiences. So, the competition has never been steeper for publishers looking to build a subscriber base. Unfortunately, launching a simple paywall may not be enough.

Keep reading... Show less
Engagement on the Rise: Why It’s Your Ticket to Loyalty
Rebel Insights

Engagement on the Rise: Why It’s Your Ticket to Loyalty

New data from Chartbeat shows engagement time is increasing despite traffic dips

Getting users to your site is only half the battle. For publishers, it’s now become more critical to focus on how long those users stay on your site — and if they ever come back. Q1 2022 data analyzed by Chartbeat found that engagement is on the rise, even though metrics like pageviews and mobile traffic experienced a decline.

Chartbeat measures engaged time by the “amount of time that readers spend actively engaging with a page — scrolling, clicking, or moving their mouse.” With this in mind, their data showed that most regions in the world registered an average of 30 seconds of engaged time on site in Q1. Readers in Latin America led the results with an average of 34.7 seconds of engaged time.

Keep reading... Show less
Build on a Better PlatformReady to See More?
Request a Proposal