WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven theme remove white space between images (8 posts)

  1. thydzik
    Member
    Posted 1 year ago #

    Hi All
    I am struggling to remove white space between two images separated by a
    ,
    I have tried googling the problem, but haven’t seen anything specific to images, so am wondering if it is a theme problem or something with plugins, etc.
    I have tried

    .entry-content img,
    .comment-content img,
    .widget img {
    	max-width: 100%;
    }

    Which doesn’t resolve it, help appreciated.
    Site is you can view images with the line of whitespace when you scroll down.

  2. noahjonah
    Member
    Posted 1 year ago #

    CSS- img { border: 0px; }

  3. thydzik
    Member
    Posted 1 year ago #

    this didn't work.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Your query is better asked in a CSS-specific forum.

    CSS queries this specific are not within the scope of support provided by WordPress forums.

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  6. thydzik
    Member
    Posted 1 year ago #

    thanks for the suggestions, this seemed to work for me

    p img, .wp-caption {
    	margin-top: -0.4em;
    }
  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    The rendered HTML code shows a break tag between those images.

  8. thydzik
    Member
    Posted 1 year ago #

    yes, but isn't this normal?
    I have had this
    tag on other themes and it doesn't produce the white space.

Topic Closed

This topic has been closed to new replies.

About this Topic