[wp-hackers] WordPress changes for responsive designs

Ricardo Moraleida moraleida at gmail.com
Thu Mar 29 02:13:17 UTC 2012


I'm building responsive themes with 3.3 and so far, haven't found any
critical difficulty, apart from one or two !important css statements as in:

img { width: 100% !important; }

this seems to solve every issue i've bumped into so far, provided every
other measure in the template is using % or em units. Is this kind of style
enforcing really (i mean really) bad for any reason?

Ricardo Moraleida



2012/3/28 scribu <scribu at gmail.com>

> On Thu, Mar 29, 2012 at 4:16 AM, Joshua Sibelman
> <joshua.sibelman at gmail.com>wrote:
>
> > I'm almost certain this isn't the right place to direct this, but figured
> > it'd be a start.
> >
>
> Reading the subject, I thought you were going to talk about design, but the
> problem you raise is very technical indeed; quite appropriate for a mailing
> list called wp-hackers.
>
> 1) Does anyone know if WP has any plans to move towards greater support for
> > responsive designs?
> >
>
> There are plans and there was actually work done on this front in WP 3.3
> [1] and continuing in 3.4 [2] and beyond [3].
>
>
> > 3) I'm not averse to solving this by writing a plugin, are there hooks
> > available for the media uploader's code insertion?
> >
>
> If you mean the final HTML code inserted into the post content, yes there
> is a hook for that: 'media_send_to_editor'
>
> [1] http://core.trac.wordpress.org/ticket/18198
> [2] http://core.trac.wordpress.org/ticket/20015
> [3] http://core.trac.wordpress.org/ticket/19844
>
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list