[wp-trac] [WordPress Trac] #21254: Twenty Twelve: Full width when sidebar is not populated

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 18 17:18:13 UTC 2012


#21254: Twenty Twelve: Full width when sidebar is not populated
---------------------------+------------------
 Reporter:  obenland       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by lancewillett):

 Replying to [comment:1 obenland]:
 > [[attachment:21254.diff]] Adds .full-width to style declaration, removes
 a redundant page template check and adds the case of having no sidebar to
 the `$content_width` conditional.

 Patch looks good, thanks much. One comment is we *might* want the 'full-
 width' class on the full-width page also, in case we decide to hook in
 more styles later.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21254#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list