Make WordPress Core

Opened 16 years ago

Closed 14 years ago

#7134 closed defect (bug) (fixed)

Gallery shortcode produces wrong style on RTL layouts

Reported by: ikonst's profile ikonst Owned by: markjaquith's profile 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 16 years ago.

Download all attachments as: .zip

Change History (7)

#1 @ryan
15 years ago

  • Component changed from Template to Gallery
  • Owner anonymous deleted

#2 @ShaneF
15 years ago

  • Milestone changed from 2.7 to 2.8

#3 @ShaneF
15 years ago

  • Milestone changed from 2.8 to 2.9

Moved again to 2.9

#4 @markjaquith
14 years ago

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

Pinged Yoav @ Automattic (an RTLer) about this.

#5 @yoavf
14 years ago

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

#6 @westi
14 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.