Support » Fixing WordPress » Getting images to floar around multiple paragraphs and h2's

  • Resolved databell96

    (@databell96)


    I’m trying to finish a project with a series of case studies but the logo isn’t floating properly around my text. It floats to the right for the first h2 element and the first paragraph. After that, there’s a huge space before the next h2 and it just looks awful. Tried all sorts of things to make it work but nothing seems to click. The page/post in question is here. Does anyone know how to properly make this all wrap?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    quite near the start of style.css, the h tags are styled with ‘clear:both;’ which breaks the float:

    h1, h2, h3, h4, h5, h6 {
    	clear: both;
    	font-weight: normal;
    }

    try to set h2 in your content to ‘clear:none;’

    example:

    #content h2 { clear: none; }

    databell96

    (@databell96)

    Thanks, that really solved the issue perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting images to floar around multiple paragraphs and h2's’ is closed to new replies.