[resolved] content area color extend behind bottom image (3 posts)

  1. tangobango
    Posted 3 years ago #

    I am new to developing wordpress themes. (I am using ths _s as the parent theme.) I am having trouble with a page that has an image at the bottom of the content area.

    The content area is styled to have a white background and the rest of the column (the primary div) is brown. I want the whole content area, including the image, to have a white background, even when there is no text below it.

    See http://petra.edkatzman.com/clearing-floats/

    Here is the code:

    Many thanks.

  2. In your css on line 99, try adding overflow:hidden...

    article.type-page, article.type-post {
    background-color: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
  3. tangobango
    Posted 3 years ago #

    Works. Thanks. I'll need to read up on overflow to understand why this works. overflow:visible seems to make more intuitive sense to me.

Topic Closed

This topic has been closed to new replies.

About this Topic