WordPress.org

Support

Support » Themes and Templates » Floating images to the right in content areas not displaying as expected

Floating images to the right in content areas not displaying as expected

  • I am working on a site remodel. While fine tuning the home page, I added an inline image then floated it to the right. When I previewed the page, I was surprised because the image floats outside the div column. Until I fix this, it can be seen if you scroll down a bit on this page:
    http://verocabinetry.com/

    I am looking at the css but can’t quite figure out where I would mod this to keep the image in the container. Any suggestions?

Viewing 1 replies (of 1 total)
  • .full-width .site-content blockquote.alignleft,
    .full-width .site-content img.size-full.alignleft,
    .full-width .site-content img.size-large.alignleft,
    .full-width .site-content img.size-medium.alignleft,
    .full-width .site-content .wp-caption.alignleft {
    margin-left: 0; /* was -168px */
    }

    .full-width .site-content blockquote.alignright,
    .full-width .site-content img.size-full.alignright,
    .full-width .site-content img.size-large.alignright,
    .full-width .site-content img.size-medium.alignright,
    .full-width .site-content .wp-caption.alignright {
    margin-right: 0; /* was -168px */
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Floating images to the right in content areas not displaying as expected’ is closed to new replies.