<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Media Query for Mobile in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/215639#M9530</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/75265"&gt;@christinacschne&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it's pretty simple. If your object has a Class or an ID you can hide it with following solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;@media screen and (max-width:XXX px){
.your-class{
display:none;}
}
@media screen and (max-width:XXX+1 px){
.your-class{
display:block;}
}&lt;/PRE&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;if you want to hide your element on smartphones(most likely 480px width;iPhones have different/other resolutions) your code should look like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;@media screen and (max-width:480px){
.your-class{
display:none;}
}
@media screen and (max-width:481 px){
.your-class{
display:block;}
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;You can find a list of media queries&amp;nbsp;&lt;A href="https://css-tricks.com/snippets/css/media-queries-for-standard-devices/" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG src="https://cdn2.hubspot.net/hubfs/98485/2000px-Ok_sign_font_awesome.png" border="0" width="30" height="30" /&gt;&lt;/TD&gt;&lt;TD&gt;Did my post help answer your query? Help the Community by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;marking it as a solution&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Nov 2018 16:29:29 GMT</pubDate>
    <dc:creator>AntonB</dc:creator>
    <dc:date>2018-11-08T16:29:29Z</dc:date>
    <item>
      <title>Media Query for Mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/215626#M9527</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to setup a media query to hide the small mobile friendly image (below the shop now) until the page is on a mobile device. Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://info.comporium.com/-temporary-slug-8ce16fa4-38a9-441f-974d-e496f46d70a3?hs_preview=yvIVMKRn-6477245208" target="_self"&gt;https://info.comporium.com/-temporary-slug-8ce16fa4-38a9-441f-974d-e496f46d70a3?hs_preview=yvIVMKRn-6477245208&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 15:11:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/215626#M9527</guid>
      <dc:creator>christinacschne</dc:creator>
      <dc:date>2018-11-08T15:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Media Query for Mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/215639#M9530</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/75265"&gt;@christinacschne&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it's pretty simple. If your object has a Class or an ID you can hide it with following solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;@media screen and (max-width:XXX px){
.your-class{
display:none;}
}
@media screen and (max-width:XXX+1 px){
.your-class{
display:block;}
}&lt;/PRE&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;if you want to hide your element on smartphones(most likely 480px width;iPhones have different/other resolutions) your code should look like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;@media screen and (max-width:480px){
.your-class{
display:none;}
}
@media screen and (max-width:481 px){
.your-class{
display:block;}
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;You can find a list of media queries&amp;nbsp;&lt;A href="https://css-tricks.com/snippets/css/media-queries-for-standard-devices/" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG src="https://cdn2.hubspot.net/hubfs/98485/2000px-Ok_sign_font_awesome.png" border="0" width="30" height="30" /&gt;&lt;/TD&gt;&lt;TD&gt;Did my post help answer your query? Help the Community by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;marking it as a solution&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 16:29:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/215639#M9530</guid>
      <dc:creator>AntonB</dc:creator>
      <dc:date>2018-11-08T16:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Media Query for Mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/215769#M9557</link>
      <description>&lt;P&gt;hey there I've just visited your site, you have a quite a unique site here,&amp;nbsp; a site which consists mostly of an image, here's a tip I can give you, to minimize your work doing this thing,&amp;nbsp; If you're using a rich text field you can just use SMART content to change the your content based on 3 resolution (desktop , tablet , mobile) I just don't know what the specific resolution tho.&amp;nbsp; but you can still use media query CSS&amp;nbsp;rules to override something.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;happy coding.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 01:06:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/215769#M9557</guid>
      <dc:creator>valerajoey</dc:creator>
      <dc:date>2018-11-09T01:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Media Query for Mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/216111#M9620</link>
      <description>&lt;P&gt;Thanks! I appreciate your feedback and sharing the SMART content fix!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 14:51:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/216111#M9620</guid>
      <dc:creator>christinacschne</dc:creator>
      <dc:date>2018-11-12T14:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Media Query for Mobile</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/216112#M9621</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 14:55:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Media-Query-for-Mobile/m-p/216112#M9621</guid>
      <dc:creator>christinacschne</dc:creator>
      <dc:date>2018-11-12T14:55:22Z</dc:date>
    </item>
  </channel>
</rss>

