WordPress.org

Ready to get started?Download WordPress

Forums

Text Wrap (3 posts)

  1. checkplease
    Member
    Posted 2 years ago #

    Working on a site at kentuckyoneemployees.org using a new template. I cannot get the text to wrap around images for some reason and cannot figure what the issue is. I have tried adding a dew different things to the style.css such as :

    img.alignright {float:right; margin:0 0 1em 1em}
    img.alignleft {float:left; margin:0 1em 1em 0}
    img.aligncenter {display: block; margin-left: auto; margin-right: auto}
    .alignright {float:right; }
    .alignleft {float:left; }
    .aligncenter {display: block; margin-left: auto; margin-right: auto}

    and

    .SCS img.alignleft { float: left; }
    .SCS img.alignright { float: right; }

    and

    [CSS code moderated - a link to your site is enough to access the styles - or use the pastebin]

    Any ideas what I am doing wrong?

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    the 'clear: both;' in this style in style.css (line 1405) is sabotaging your efforts:

    #subpage .content p {
    font-size: 12px;
    margin-top: 10px;
    color: #565656;
    clear: both;
    }

    try to remove it, and watch out if there are side effects in other parts of your site (?)

  3. checkplease
    Member
    Posted 2 years ago #

    Thanks!
    Looks like that got it with no other effects that I can see.

Topic Closed

This topic has been closed to new replies.

About this Topic