<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Media Queries Being Ignored &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/media-queries-being-ignored/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 23:50:41 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-44957</guid>
					<title><![CDATA[Media Queries Being Ignored]]></title>
					<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-44957</link>
					<pubDate>Fri, 16 May 2014 00:37:42 +0000</pubDate>
					<dc:creator>Kenrick C</dc:creator>

					<description>
						<![CDATA[
						<p>URL: <a href="http://dev.lift3x.com/arstudio/" rel="nofollow">http://dev.lift3x.com/arstudio/</a><br />
Latest X / X Shortcodes<br />
WP 3.9.1</p>
<p>The site works more or less as expected on the desktop.</p>
<p>It also responds to my media queries on an iPhone 5s in landscape.</p>
<p>The problem is that it will not respect the media queries for portrait mode for mobiles. I&#8217;ve tried every conceivable way of writing the queries from:</p>
<p>@media screen (min-device-width: 300px) and (max-device-width: 479px) {}</p>
<p>to</p>
<p>@media all and (max-device-width: 512px) {}</p>
<p>And it always jumps down to the landscape queries CSS. It even shows it in Safari developer tools as recognizing that the other query exists but it just overwrites it for some reason. Both the portrait and landscape use !important to overwrite the default (desktop) values and the portrait queries even come before the landscape queries. If I switch the order, I just get the opposite problem.</p>
<p>Any help would be greatly appreciated.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45227</guid>
					<title><![CDATA[Reply To: Media Queries Being Ignored]]></title>
					<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45227</link>
					<pubDate>Fri, 16 May 2014 21:42:36 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Kenrick,</p>
<p>Thank you for writing in!</p>
<p>What does your media query should do? Any screen video recording would help.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45666</guid>
					<title><![CDATA[Reply To: Media Queries Being Ignored]]></title>
					<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45666</link>
					<pubDate>Sun, 18 May 2014 14:27:20 +0000</pubDate>
					<dc:creator>Kenrick C</dc:creator>

					<description>
						<![CDATA[
						<p><img decoding="async" src="https://drive.google.com/file/d/0Bzs01iCupi4VSmN5V2R0ckpISk0/edit?usp=sharing" alt="Ignored Queries Screenshot" /></p>
<p>That is a screenshot of my physical iphone 5s being debugged in Safari.</p>
<p>If you look at the site you will see that my specific media queries are not being respected. For example, look at the CSS beign applied (line 240):</p>
<p>.antiqueBtn{<br />
min-width: 145px !important;<br />
min-height: 145px !important;<br />
background: url(&#8216;<a href="http://dev.lift3x.com/arstudio/wp-content/uploads/2014/05/restoreBtnMobi.png&#038;#8217" rel="nofollow">http://dev.lift3x.com/arstudio/wp-content/uploads/2014/05/restoreBtnMobi.png&#038;#8217</a>;) !important;<br />
}</p>
<p>That style is being applied when the viewport is in portrait and should be using line 169</p>
<p>.antiqueBtn{<br />
min-width: 90px !important;<br />
min-height: 90px !important;<br />
background: url(&#8216;<a href="http://dev.lift3x.com/arstudio/wp-content/uploads/2014/05/restoreBtn90.png&#038;#8217" rel="nofollow">http://dev.lift3x.com/arstudio/wp-content/uploads/2014/05/restoreBtn90.png&#038;#8217</a>;) !important;<br />
}</p>
<p>The latter should be changing the size of the buttons to work with the smaller screen. However, the rule is being ignored even though the media query clearly states that the 145px image should only be used when:</p>
<p>@media screen (min-device-width: 567px) and (max-device-width: 853px).</p>
<p>Does that clear it up? </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45710</guid>
					<title><![CDATA[Reply To: Media Queries Being Ignored]]></title>
					<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45710</link>
					<pubDate>Sun, 18 May 2014 18:27:03 +0000</pubDate>
					<dc:creator>Kenrick C</dc:creator>

					<description>
						<![CDATA[
						<p>Sorry link to screenshot didn&#8217;t work for some reason: <a href="https://drive.google.com/file/d/0Bzs01iCupi4VSmN5V2R0ckpISk0/edit?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0Bzs01iCupi4VSmN5V2R0ckpISk0/edit?usp=sharing</a></p>
<p>I&#8217;ve even tried getting rid of the !important but still resisting.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45840</guid>
					<title><![CDATA[Reply To: Media Queries Being Ignored]]></title>
					<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45840</link>
					<pubDate>Mon, 19 May 2014 03:17:11 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Kenrick,</p>
<p>It doesn&#8217;t work on desktop too, when resized and I don&#8217;t see any media query implemented, unless by viewing html source.</p>
<p>Could you simplify this?</p>
<p><code>@media only screen (min-device-width: 300px) and (max-device-width: 512px) and (orientation:portrait) {</code></p>
<p>into this :</p>
<p><code>@media (min-width: 300px) and (max-width: 512px) {</code></p>
<p>And let me know.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45920</guid>
					<title><![CDATA[Reply To: Media Queries Being Ignored]]></title>
					<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-45920</link>
					<pubDate>Mon, 19 May 2014 07:41:06 +0000</pubDate>
					<dc:creator>Kenrick C</dc:creator>

					<description>
						<![CDATA[
						<p>Awesome! That appears to have done the trick. Thanks! </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-46074</guid>
					<title><![CDATA[Reply To: Media Queries Being Ignored]]></title>
					<link>https://theme.co/archive/forums/topic/media-queries-being-ignored/#post-46074</link>
					<pubDate>Mon, 19 May 2014 18:36:15 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re welcome!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

