<div dir="ltr"><div><div><div><div>I don't think it is possible for a theme to decide using CSS only whether or not to include specific content to be downloaded to the  browser. It can decide whether or not to display the content, agreed. I brought this up because of a user who had this exact problem. The site in question had some large images to display - and the user wanted to display them by default on desktop sites. But on mobile, where even a 100K image could significantly impact site load time on a phone, the user wanted to prevent downloading the large image completely, and display alternate content on the phone.<br>
<br></div>The latest info I was able to find says only Opera Mobile will use display:none; to prevent the actual image from downloading, so CSS is not a solution to this issue. CSS does a lot, but not everything. <br><br>
</div>And while you can likely use CSS only for adaptive mobile design, my take on it is that most adaptive sites use user agents to detect mobile devices.<br><br></div>And I will always contend that there is a very large percentage of WordPress site builders who are totally capable of making their own decisions to use whatever options they want to build a site that works how they want - even to the level of understanding what adaptive rendering is, and a desire to optimize the mobile user experience by reducing load time on phone with a slow connection. Maybe you all have state of the art 4G phones and service, but there are plenty of people still with 2G and other slow connections, and load speed is still important.<br>
<br></div>As a theme designer, I'm just not smart enough to know when to generate or not generate an <img> (or song, or video, or...) for a mobile device, and exactly what alternative to provide. As a site designer, I would know that much more exactly, and would like my theme to allow me that ability.<br>
<div><div><div><div><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 1:59 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't think there's anything that *has* to be left up to a shortcode, even for adaptive design. The developer should make those decisions, based on the supported screen sizes - i.e. decisions, not options.  Making those decisions has nothing to do with a Theme creating or modifying content; rather, those decisions merely impact the *presentation* of that content. The implementation of those decisions can be handled in a manner that is 100% consistent with maintaining the presentation-vs-functionality segregation.<br>
</div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div></div></div></div>