WordPress.org

Forums

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

  1. MC
    Member
    Posted 1 year 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:
    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?

  2. kira.leimomi
    Member
    Posted 5 months 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

Tags

No tags yet.