Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 7 years ago

#22227 closed defect (bug) (fixed)

Twenty Twelve: links in gallery captions wrap to next line

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

Description

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 14 years ago.
22227.2.diff​ (535 bytes ) - added by DrewAPicture 14 years ago.
Caption same width as anchored image.

Download all attachments as: .zip

Change History (7)

@DrewAPicture
14 years ago

Caption same width as anchored image.

#2 @DrewAPicture
14 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
14 years ago

  • Owner set to lancewillett
  • Resolution → fixed
  • Status new → closed

In [22294]:

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

#4 @ocean90
14 years ago

  • Milestone Awaiting Review → 3.5

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


7 years ago

Note: See TracTickets for help on using tickets.