Make WordPress Core

Opened 6 years ago

Closed 4 years ago

#7134 closed defect (bug) (fixed)

Gallery shortcode produces wrong style on RTL layouts

Reported by: ikonst Owned by: markjaquith
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: Gallery Keywords: has-patch, tested
Focuses: Cc:


The [gallery] shortcode produces an embedded stylesheet (which obviously overrides whatever you try to place in your theme's rtl.css) which specifies float:left. It should be float:right on RTL layouts.

The attached patch fixes this.

Attachments (1)

wordpress-gallery-rtl.patch (901 bytes) - added by ikonst 6 years ago.

Download all attachments as: .zip

Change History (7)

ikonst6 years ago


comment:1 ryan5 years ago

  • Component changed from Template to Gallery
  • Owner anonymous deleted

comment:2 ShaneF5 years ago

  • Milestone changed from 2.7 to 2.8

comment:3 ShaneF5 years ago

  • Milestone changed from 2.8 to 2.9

Moved again to 2.9

comment:4 markjaquith4 years ago

  • Owner set to markjaquith
  • Status changed from new to accepted

Pinged Yoav @ Automattic (an RTLer) about this.

comment:5 yoavf4 years ago

  • Cc yoav@… added
  • Keywords has-patch tested added

comment:6 westi4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [12338]) Make the gallery shortcode float the right way for RTL languages. Fixes #7134 props ikonst.

Note: See TracTickets for help on using tickets.