WordPress.org

Ready to get started?Download WordPress

Forums

[closed] image widget caption issue (4 posts)

  1. rpsellers
    Member
    Posted 1 year ago #

    I've got an issue using the image widget in the sidebar. With my child theme based on twenty eleven I've noticed that any caption below an image in the sidebar has a very large space to the right of the text. (I'm working locally so don't have a link but every instance I see has essentially the same margin and padding for image captions using this widget, such as this picture. I've found the css for modifying both the title and caption text in the css but for the life of me cannot find the call up to change the text alignment, padding or margins for the caption in the sidebar widget image.

    Any ideas on where to look / what to try?

    Thanks in advance!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What is the CSS you found for that area? Be sure to use the code button when posting code here -- or if it's a lot, use the pastebin.

    The best way to work with CSS is using Firebug to locate and test changes - and then make them in the CSS file.

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    it seems that your 'modern tribe' logo image is too wide; the text width looks ok.

    to see that, temporarily, try to add to style.css:

    #secondary { overflow: hidden; }

    also, the widget simply adds a max width to the image, and does not replicate the 'normal' image with caption html/css structure.

    you will see more problems, when you narrow the browser screen as the image is not flexible/responsive.

    possibly look for a different image widget plugin.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic