{"id":5309,"date":"2024-08-05T19:17:00","date_gmt":"2024-08-05T13:47:00","guid":{"rendered":"https:\/\/email.uplers.com\/blogs\/?p=5309"},"modified":"2024-08-07T14:24:37","modified_gmt":"2024-08-07T08:54:37","slug":"show-hide-device-specific-content","status":"publish","type":"post","link":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/","title":{"rendered":"How to Show\/Hide Device-specific Content in Emails"},"content":{"rendered":"\n<p><strong>[This post was originally published on 7th June 2022. It has been updated on 5th Aug 2024.<\/strong>]<\/p>\n\n\n\n<p>Are your emails optimized for touch-only interactions?&nbsp;&nbsp;<\/p>\n\n\n\n<p>Increasingly, emails are being opened on mobile and wearables. The screen size is shrinking. As a result, you want your subscribers to view the most critical piece of information in your emails <em>as soon as they open them<\/em>.<\/p>\n\n\n\n<p>Which means you need to hide the less relevant information for when your emails are opened on mobile devices and wearables.&nbsp;<\/p>\n\n\n\n<p>Otherwise, the gap between your opens and conversions will widen, eventually causing your <a href=\"https:\/\/email.uplers.com\/blog\/increase-email-open-rate\/\" target=\"_blank\" rel=\"noreferrer noopener\">open rates<\/a> to plateau too as subscribers lose interest in opening your emails.&nbsp;<\/p>\n\n\n\n<p>In this post, we\u2019ll show you how to hide irrelevant content in emails viewed on mobile devices. Let\u2019s begin.&nbsp;<\/p>\n\n\n\n<p><a href=\"#howtohide\"><strong>How to Hide Email Content in Outlook?<\/strong><br><\/a><a href=\"#displaynone\"><strong>Using display:none<\/strong><br><\/a><a href=\"#Accordions\"><strong>Implementing Accordions<\/strong><br><\/a><a href=\"#realworldApplication\"><strong>Real-world Application: By Client Type<\/strong><br><\/a><a href=\"#Type\"><strong>By Device Type<\/strong><br><\/a><a href=\"#HidingEmailContent\"><strong>Advantages of Hiding Email Content<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"howtohide\"><strong>How to Hide Email Content in Outlook?<\/strong><\/h2>\n\n\n\n<p>The CSS rule display:none works with Outlook 2007\/10\/13, but if there is a table within the element you want to hide, the table\u2019s contents will still be visible.&nbsp;<br>To hide content in Outlook, use the mso-hide:all tag. This will ensure that any content within the div remains hidden when <a href=\"https:\/\/email.uplers.com\/blog\/email-rendering-issues-in-outlook-and-hacks\/\" target=\"_blank\" rel=\"noreferrer noopener\">viewed in Outlook<\/a>.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"273\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image3-1024x273.png\" alt=\"\" class=\"wp-image-40408\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image3-1024x273.png 1024w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image3-300x80.png 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image3-768x204.png 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image3-624x166.png 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image3.png 1255w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"displaynone\"><strong>Using display:none<\/strong><\/h2>\n\n\n\n<p>The news of Gmail supporting &#8216;display:none&#8217; brought joy to email developers everywhere.&nbsp;<\/p>\n\n\n\n<p>Previously, email developers had to use &#8216;display!important&#8217; or set height=0 to hide elements without Gmail&#8217;s inliner removing the code.&nbsp;<\/p>\n\n\n\n<p>Now, with Gmail supporting &#8216;display:none&#8217; and promising future support for media queries, content blocks can be hidden using &#8216;display:none&#8217; with the appropriate media queries for screen width. Consider the following code snippet for an example.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"358\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image5-1024x358.png\" alt=\"\" class=\"wp-image-40405\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image5-1024x358.png 1024w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image5-300x105.png 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image5-768x269.png 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image5-624x218.png 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image5.png 1255w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n<div class=\"banner_wrapper\" style=\"\"><div class=\"banner  banner-40234 bottom vert custom-banners-theme-default_style\" style=\"\"><a class=\"custom_banners_big_link\"  target=\"_blank\"  href=\"https:\/\/email.uplers.com\/hire-dedicated-email-developer\/\"><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"376\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-04-100.jpg\" class=\"attachment-full size-full\" alt=\"responsive HTML email developers\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-04-100.jpg 1001w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-04-100-300x113.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-04-100-768x288.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-04-100-624x234.jpg 624w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/a><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Accordions\"><strong>Implementing Accordions<\/strong><\/h2>\n\n\n\n<p>The CSS rule display:none works with Outlook 2007\/10\/13 unless there is a table within the element you want to hide. In that case the table\u2019s contents will be visible even though everything else is hidden. So to hide any content in <\/p>\n\n\n\n<p>By using the <a href=\"https:\/\/email.uplers.com\/accordion-in-email\/\" target=\"_blank\" rel=\"noreferrer noopener\">Accordion effect in your email<\/a>, the content is organized into segments that subscribers can tap to expand and read further.&nbsp;<\/p>\n\n\n\n<p>This doesn&#8217;t actually hide the content but arranges it into sections, allowing subscribers to easily read the parts they&#8217;re interested in while skipping the rest.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><img loading=\"lazy\" decoding=\"async\" width=\"171\" height=\"351\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfHCtA2npRJy-3bror04KLtx-HLMOygtuXKivSTNFsUq_vkA_iOyPxQ3p96ACuuYJwbW5bLxfeXrfBUyPTQfdNhzdQ_4rjgcxM1rv1hVJ-IOmWxnUlpH9fIB27a-ewrl0Nuh9xAXc1vUR-uQLLi8Xon6S0?key=7_p-QUpzPNWFPJzLzv2JTg\"><\/p>\n\n\n\n<figure class=\"wp-block-pullquote is-style-default\"><blockquote><p style=\"font-size: 22px\"><em><span class=\"has-inline-color has-black-color\" style=\"font-size: 22px; color: red;\">\u201c<\/span>Responsive design will take on entirely new dimensions because of the rise of wearables and voice-based interfaces.<span class=\"has-inline-color has-black-color\" style=\"font-size: 22px; color: red;\">\u201d<\/span><\/em><\/p><cite> <em>Chad S. White, Email Marketing Rules<\/em> <\/cite><\/blockquote><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"realworldApplication\"><strong>Real-world Application: By Client Type<\/strong><\/h2>\n\n\n\n<p>By implementing<a href=\"https:\/\/email.uplers.com\/accordion-in-email\/\" target=\"_blank\" rel=\"noreferrer noopener\"> Accordion effect in your email<\/a>, the email content gets neatly arranged into segments which the We tested <a href=\"https:\/\/email.uplers.com\/form-in-email\/\" target=\"_blank\" rel=\"noreferrer noopener\">integrated forms in emails<\/a>. These forms are compatible with Apple Mail, Gmail Desktop, Yahoo Desktop, AOL, and Outlook on Mac. Subscribers using these email clients saw the following email.&nbsp;<\/p>\n\n\n<!-- image-text-block start -->\r\n<section class=\"image-text-block\">\r\n    <div class=\"main\">\r\n    \t\t        <div class=\"content\">\r\n\t        \t\t\t            <div class=\"item\">\r\n\t\t                <div class=\"left image-popup-box\">\r\n\t\t                \t\t\t                <\/div>\r\n\t\t                \t\t\t                <div class=\"right\">\r\n\t\t\t                \t\t\t\t\t                    <div class=\"border-wrap\">\r\n\t\t\t\t                    \t<div class=\"templatepopup\" data-attr=\"card-block_66b0d3a0d6201_1\" style=\"background-image:url('https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2022\/06\/image1.jpg');\"><\/div>\r\n\t\t\t\t                    <\/div>\r\n\t\t\t                    \t\t\t                    <div class=\"blog-popup\" id=\"card-block_66b0d3a0d6201_1\">\r\n\t\t\t                        <div class=\"rapper\">\r\n\t\t\t                        <div class=\"close-btn\"><span><\/span><span><\/span><span><\/span><\/div>\r\n\t\t\t                        \t\t\t                            <div class=\"inner\">\r\n\t\t\t                                <img decoding=\"async\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2022\/06\/image1.jpg\" alt=\"Real-world Application\">\r\n\t\t\t                            <\/div>\r\n\t\t\t                        \t\t\t                        <\/div>\r\n\t\t\t                    <\/div>\r\n\t\t\t                    <div class=\"source\">\r\n\t\t\t                    \t\t\t\t                    <\/div>\r\n\t\t\t                <\/div>\r\n\t\t\t            \t\t            <\/div>\r\n\t\t        \t        <\/div>\r\n\t        <\/div>\r\n<\/section>\r\n<!-- image-text-block end -->\r\n\n\n\n<p>And subscribers using non-supporting email clients received the following message instead of the form.<\/p>\n\n\n<!-- image-text-block start -->\r\n<section class=\"image-text-block\">\r\n    <div class=\"main\">\r\n    \t\t        <div class=\"content\">\r\n\t        \t\t\t            <div class=\"item\">\r\n\t\t                <div class=\"left image-popup-box\">\r\n\t\t                \t\t\t                <\/div>\r\n\t\t                \t\t\t                <div class=\"right\">\r\n\t\t\t                \t\t\t\t\t                    <div class=\"border-wrap\">\r\n\t\t\t\t                    \t<div class=\"templatepopup\" data-attr=\"card-block_66b0d436d6203_1\" style=\"background-image:url('https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2022\/06\/image4.png');\"><\/div>\r\n\t\t\t\t                    <\/div>\r\n\t\t\t                    \t\t\t                    <div class=\"blog-popup\" id=\"card-block_66b0d436d6203_1\">\r\n\t\t\t                        <div class=\"rapper\">\r\n\t\t\t                        <div class=\"close-btn\"><span><\/span><span><\/span><span><\/span><\/div>\r\n\t\t\t                        \t\t\t                            <div class=\"inner\">\r\n\t\t\t                                <img decoding=\"async\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2022\/06\/image4.png\" alt=\"Real-world Application\">\r\n\t\t\t                            <\/div>\r\n\t\t\t                        \t\t\t                        <\/div>\r\n\t\t\t                    <\/div>\r\n\t\t\t                    <div class=\"source\">\r\n\t\t\t                    \t\t\t\t                    <\/div>\r\n\t\t\t                <\/div>\r\n\t\t\t            \t\t            <\/div>\r\n\t\t        \t        <\/div>\r\n\t        <\/div>\r\n<\/section>\r\n<!-- image-text-block end -->\r\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Type\"><strong>By Device Type<\/strong><\/h2>\n\n\n\n<p>One of the critical questions to answer is: Which content should you show\/hide on mobile emails? Here are a few examples for your help.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-table email-profile-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">             <strong>For Desktop-only<\/strong>              <\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>For Mobile-only<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Ebook downloads<br>Long-form videos<br>Tutorials<br>White papers&nbsp;<br>Multiple columns<br>Complex design<\/td><td class=\"has-text-align-center\" data-align=\"center\">App downloads<br>Prominent CTAs<br>Video embeds with static first frame<br>QR code\/barcode<br>Time-sensitive deals<br>Location-based offers<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div class=\"banner_wrapper\" style=\"\"><div class=\"banner  banner-27384 bottom vert custom-banners-theme-default_style\" style=\"\"><a class=\"custom_banners_big_link\"  target=\"_blank\"  href=\"https:\/\/email.uplers.com\/email-template-production-services\/\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"220\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/08\/2-2.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/08\/2-2.jpg 800w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/08\/2-2-300x83.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/08\/2-2-768x211.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/08\/2-2-624x172.jpg 624w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"HidingEmailContent\"><strong>Advantages of Hiding Email Content<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Imagine a scenario where you need to promote your mobile application to your subscribers. Depending on the device they are using to view the email, the content varies. Desktop users will see content highlighting the app&#8217;s features. Mobile users will see a CTA to download the app from the respective app store.<br><\/li><li>Outlook doesn\u2019t render GIFs and only shows the first frame as a fallback. This can convey the wrong message. By using mso-hide:all, you can hide the GIF for Outlook and show a fallback image instead.<br><\/li><li><a href=\"https:\/\/email.uplers.com\/interactive-email-templates\/\" target=\"_blank\" rel=\"noreferrer noopener\">Interactive elements<\/a> are not supported by some email clients. To prevent those clients from displaying a broken layout, you can hide the content for such email clients.<br><\/li><li>Reducing\/hiding content, visual or textual, also increases loading speed on mobile devices with slower connections, leading to improved customer experience.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-pullquote is-style-default\"><blockquote><p style=\"font-size: 22px\"><em><span class=\"has-inline-color has-black-color\" style=\"font-size: 22px; color: red;\">\u201c<\/span>Load time is a much bigger deal than image blocking nowadays<span class=\"has-inline-color has-black-color\" style=\"font-size: 22px; color: red;\">\u201d<\/span><\/em><\/p><cite> <em>Kristina Huffman, Experience Designer at Salesforce<\/em> <\/cite><\/blockquote><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Wrapping Up!<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/email.uplers.com\/email-template-production-services\/\" target=\"_blank\" rel=\"noreferrer noopener\">Creating responsive emails<\/a> is not easy. The complexity of email rendering arises from the need to ensure that your email remains functional and visually consistent as it passes through various ESPs, email clients, operating systems, web browsers, and a multitude of devices and screen sizes.<\/p>\n\n\n\n<p>The increasing popularity of wearables presents a significant challenge to responsive design. For now, adhering to coding best practices remains our most reliable approach.<\/p>\n\n\n\n<p>For more information, head over to our in-depth <a href=\"https:\/\/email.uplers.com\/infographics\/ultimate-guide-email-client-hacks\/\" target=\"_blank\" rel=\"noreferrer noopener\">guide to email client hacks<\/a>.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your emails are being opened on mobile and wearables as well as on desktops. Discover how to optimize your emails for touch-based interfaces.<\/p>\n","protected":false},"author":78,"featured_media":5316,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[382],"tags":[537],"class_list":["post-5309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email-coding","tag-showhide-content-in-emails"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mobile Email Optimization: Show\/Hide Content for Different Devices<\/title>\n<meta name=\"description\" content=\"Optimize your emails for mobile devices by learning how to show or hide specific content. Improve user experience, increase engagement &amp; boost conversions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mobile Email Optimization: Show\/Hide Content for Different Devices\" \/>\n<meta property=\"og:description\" content=\"Optimize your emails for mobile devices by learning how to show or hide specific content. Improve user experience, increase engagement &amp; boost conversions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/\" \/>\n<meta property=\"og:site_name\" content=\"Email Uplers\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/email.uplers\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-05T13:47:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-07T08:54:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample-540x282.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"540\" \/>\n\t<meta property=\"og:image:height\" content=\"282\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Susmit Panda\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:site\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Susmit Panda\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/\",\"name\":\"Mobile Email Optimization: Show\/Hide Content for Different Devices\",\"isPartOf\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample.jpg\",\"author\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3\"},\"description\":\"Optimize your emails for mobile devices by learning how to show or hide specific content. Improve user experience, increase engagement & boost conversions.\",\"breadcrumb\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#primaryimage\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample.jpg\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample.jpg\",\"width\":\"1170\",\"height\":\"428\",\"caption\":\"Show and Hide Content in Emails sample\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/email.uplers.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Show\/Hide Device-specific Content in Emails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\",\"url\":\"https:\/\/email.uplers.com\/blog\/\",\"name\":\"Email Uplers\",\"description\":\"Email Marketing Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/email.uplers.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3\",\"name\":\"Susmit Panda\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png\",\"caption\":\"Susmit Panda\"},\"description\":\"A realist at heart and an idealist at head, Susmit is a content writer at Email Uplers. He has been in the digital marketing industry for half a decade. When not writing, he can be seen squinting at his Kindle, awestruck.\",\"sameAs\":[\"https:\/\/email.uplers.com\/\",\"https:\/\/www.linkedin.com\/in\/susmit-panda-965a1214a\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mobile Email Optimization: Show\/Hide Content for Different Devices","description":"Optimize your emails for mobile devices by learning how to show or hide specific content. Improve user experience, increase engagement & boost conversions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/","og_locale":"en_US","og_type":"article","og_title":"Mobile Email Optimization: Show\/Hide Content for Different Devices","og_description":"Optimize your emails for mobile devices by learning how to show or hide specific content. Improve user experience, increase engagement & boost conversions.","og_url":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/","og_site_name":"Email Uplers","article_publisher":"https:\/\/www.facebook.com\/email.uplers\/","article_published_time":"2024-08-05T13:47:00+00:00","article_modified_time":"2024-08-07T08:54:37+00:00","og_image":[{"width":540,"height":282,"url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample-540x282.jpg","type":"image\/jpeg"}],"author":"Susmit Panda","twitter_card":"summary_large_image","twitter_creator":"@email_uplers","twitter_site":"@email_uplers","twitter_misc":{"Written by":"Susmit Panda","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/","url":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/","name":"Mobile Email Optimization: Show\/Hide Content for Different Devices","isPartOf":{"@id":"https:\/\/email.uplers.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#primaryimage"},"image":{"@id":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#primaryimage"},"thumbnailUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample.jpg","author":{"@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3"},"description":"Optimize your emails for mobile devices by learning how to show or hide specific content. Improve user experience, increase engagement & boost conversions.","breadcrumb":{"@id":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#primaryimage","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample.jpg","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2016\/10\/Show-and-Hide-Content-in-Emails_sample.jpg","width":"1170","height":"428","caption":"Show and Hide Content in Emails sample"},{"@type":"BreadcrumbList","@id":"https:\/\/email.uplers.com\/blog\/show-hide-device-specific-content\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/email.uplers.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Show\/Hide Device-specific Content in Emails"}]},{"@type":"WebSite","@id":"https:\/\/email.uplers.com\/blog\/#website","url":"https:\/\/email.uplers.com\/blog\/","name":"Email Uplers","description":"Email Marketing Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/email.uplers.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3","name":"Susmit Panda","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png","caption":"Susmit Panda"},"description":"A realist at heart and an idealist at head, Susmit is a content writer at Email Uplers. He has been in the digital marketing industry for half a decade. When not writing, he can be seen squinting at his Kindle, awestruck.","sameAs":["https:\/\/email.uplers.com\/","https:\/\/www.linkedin.com\/in\/susmit-panda-965a1214a\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/5309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/users\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/comments?post=5309"}],"version-history":[{"count":57,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/5309\/revisions"}],"predecessor-version":[{"id":40504,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/5309\/revisions\/40504"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media\/5316"}],"wp:attachment":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media?parent=5309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/categories?post=5309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/tags?post=5309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}