Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 months ago

#22227 closed defect (bug) (fixed)

Twenty Twelve: links in gallery captions wrap to next line

Reported by: DrewAPicture Owned by: lancewillett
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.5
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:


From this forum thread: http://wordpress.org/support/topic/gallery-image-caption-links-in-twentytwelve-theme?replies=1

In galleries, links in captions are inheriting display:block from .gallery-item a {}, forcing text to the next line. Attached patch adds .gallery-caption a {}. Props @bradvin for the fix

Patch attached.

Attachments (2)

22227.diff (409 bytes) - added by DrewAPicture 8 years ago.
22227.2.diff (535 bytes) - added by DrewAPicture 8 years ago.
Caption same width as anchored image.

Download all attachments as: .zip

Change History (7)

8 years ago

8 years ago

Caption same width as anchored image.

#2 @DrewAPicture
8 years ago

22227.2.diff also accounts for the caption overflowing the width of the image in first "after" screenshot in comment 1.

New after: http://cl.ly/image/3o3h2n1R1D1s

#3 @lancewillett
8 years ago

  • Owner set to lancewillett
  • Resolution set to fixed
  • Status changed from new to closed

In [22294]:

Twenty Twelve: fix style for links in gallery captions wrapping to next line, props DrewAPicture. Fixes #22227.

#4 @ocean90
8 years ago

  • Milestone changed from Awaiting Review to 3.5

This ticket was mentioned in Slack in #core-editor by zieladam. View the logs.

7 months ago

Note: See TracTickets for help on using tickets.