WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#14284 closed enhancement (fixed)

Twenty Ten: attachment images should be centered

Reported by: lancewillett Owned by:
Milestone: 3.0.1 Priority: normal
Severity: normal Version: 3.0
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

Originally reported by photomatt.

Images in single attachment template should be centered. Images that are narrower than the full-width maximum of 900 pixels are currently left-aligned.

The most common case is when using a gallery, where the gallery settings are set to link to attachment pages for the images, but this applies to any image viewed with the attachment template.

Attachments (1)

14284.style.css.diff (672 bytes) - added by lancewillett 4 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 ryan4 years ago

Aside: If we're going to use trunk and the master for Twenty Ten development, we need to copy the 1.0.3 changes from the themes dir into trunk. I believe trunk is currently behind.

comment:2 nacin4 years ago

(In [15391]) Update to Twenty Ten 1.0.3 from theme dir. see #14284.

comment:3 nacin4 years ago

(In [15392]) Update to Twenty Ten 1.0.3 from theme dir. see #14284.

comment:4 nacin4 years ago

(In [15393]) Center images on attachment pages in Twenty Ten. props lancewillett. see #14284.

comment:5 nacin4 years ago

(In [15394]) [15393] for 3.0 branch. see #14284.

comment:6 nacin4 years ago

  • Milestone changed from Awaiting Review to 3.0.1
  • Resolution set to fixed
  • Status changed from new to closed

This was actually 1.0.4 of Twenty Ten I think. Ian sent it to me via zip a week or two ago; he is waiting on some changes to the theme repo thanks to slug sanitization (Twenty Ten = twenty-ten, not twentyten).

We're sync'd. Closing as fixed.

comment:7 nacin4 years ago

(In [15395]) style.css updates for theme repo sync. see #14284.

comment:8 nacin4 years ago

(In [15397]) style.css updates for theme repo sync. see #14284.

Note: See TracTickets for help on using tickets.