[resolved] gallery image caption links in twentytwelve theme (3 posts)

  1. bradvin
    Posted 3 years ago #

    When inserting a gallery into a page with image captions that contain anchor tags, the twentytwelve CSS has a rule that sets the links to be display:block which wraps them to the next line,

    adding the following simple CSS fixes the issue

    .gallery-caption a {
    display: inline;

    Steps to reproduce:

    1) Create a new page
    2) Click media manager and upload 2 images
    3) Give the one image a caption of 'test caption with a link'
    4) Insert a gallery into the page
    5) Publish the page and view it
    6) You will notice in the caption that the link is wrapped to the next line

  2. Drew Jaynes
    Docs Czar
    Posted 3 years ago #

    Good catch! Created a Trac ticket: #22227.

  3. Lance Willett
    Posted 3 years ago #

    Thanks for the report, this is fixed in trunk now — it'll be pushed out in next Extend theme release (probably later this month).

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.