Twenty Fourteen
Floating images to the right in content areas not displaying as expected (2 posts)

  1. MC
    Posted 2 years ago #

    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:

    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?

  2. kira.leimomi
    Posted 1 year ago #

    .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 */

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.