WordPress.org

Make WordPress Core

#21739 closed defect (bug) (fixed)

Twenty Twelve: mobile-first text alignment override for 600 plus layout breaks WYSIWYG alignment options

Reported by: lancewillett Owned by: lancewillett
Milestone: 3.5 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: needs-patch
Focuses: Cc:

Description

Minor but should be fixed soon.

When you use the Visual Editor to assign right, center, or justified alignment -- the alignment is overridden by the > 600px media rules which sets the alignment to always be left.

Example on WP.com: http://mayukhmukherjee.wordpress.com/2012/07/25/linux-kernel-with-updated-power-management/ -- the body text is set to justified in the Visual Editor, but is forced left on display.

Attachments (2)

21739.diff (432 bytes) - added by obenland 20 months ago.
21739.1.diff (891 bytes) - added by obenland 20 months ago.

Download all attachments as: .zip

Change History (4)

obenland20 months ago

obenland20 months ago

comment:1 lancewillett20 months ago

Turns out this was probably user-generated markup, since core WP and also WP.com both put the inline style from the Visual Editor on the paragraph element itself, not adding a surrounding div element like in the bug report.

comment:2 lancewillett20 months ago

  • Owner set to lancewillett
  • Resolution set to fixed
  • Status changed from new to closed

In [21667]:

Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739.

Note: See TracTickets for help on using tickets.