WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 12 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:

Description

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 13 years ago.
Patch

Download all attachments as: .zip

Change History (7)

#1 @ryan
13 years ago

  • Component changed from Template to Gallery
  • Owner anonymous deleted

#2 @ShaneF
13 years ago

  • Milestone changed from 2.7 to 2.8

#3 @ShaneF
12 years ago

  • Milestone changed from 2.8 to 2.9

Moved again to 2.9

#4 @markjaquith
12 years ago

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

Pinged Yoav @ Automattic (an RTLer) about this.

#5 @yoavf
12 years ago

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

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