WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
Changing size of box around attachment (5 posts)

  1. loulantos
    Member
    Posted 2 years ago #

    Hi,

    Does anyone know how/where to edit the size of the box around attachments to posts? For each image I attempt to include in a post with a caption, a big fat box is surrounding it. It's an inline element, so I can't edit it through CSS.

    http://wordpress.org/extend/themes/twentyeleven/

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    Create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

  3. loulantos
    Member
    Posted 2 years ago #

    Yeah, sorry, it is a child theme I'm trying to modify. I should have mentioned that previously. So any ideas?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Site url?

  5. loulantos
    Member
    Posted 2 years ago #

    It's being edited offline, so I'm afraid there's no example to share. Just a description of the issue - when I upload an image to a post and choose to include a caption, an inline width of 209px is forced on the box surrounding both image and caption.

    The fact it's inline disables me from modifying the wp-caption CSS, or anything relative to it.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic