Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#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:


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 -- 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 9 years ago.
21739.1.diff (891 bytes) - added by obenland 9 years ago.

Download all attachments as: .zip

Change History (4)

9 years ago

9 years ago

#1 @lancewillett
9 years ago

Turns out this was probably user-generated markup, since core WP and also 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.

#2 @lancewillett
9 years 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.