container (4 posts)

  1. photoJoe
    Posted 3 years ago #

    I'm trying out the pinboard theme and i want to put a background image behind the container div.

    If I draw a box around this div, which should be holding all the content between, it just shows as a line at top (20px underneath the menu) and not as a box around the content as I was expecting. But if i look in page.php all the content and sidebar should be between this div.

    Any ideas on where i'm going wrong?


  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Really hard to know for sure without seeing the site, but if the elements inside the box are using CSS "float" (which is the case with that theme) - then the box won't go below them unless you have an element below the floated ones that has CSS "clear". See this for more info on CSS floating:


    Would it not work to just put the background image in the existing container div?

  3. photoJoe
    Posted 3 years ago #

    thanks WPyogi

    i tried putting CSS clear in amongst the mix, but that didn't work. & yes I'm using the existing container div.

    the site is at http://www.51degreesnorth.net/usc/

  4. photoJoe
    Posted 3 years ago #

    thanks WPyogi, i just re-looked at where i had placed the clear css & now added a clear all div before container div ends, which makes it work. ;)

    Thanks again for your help.
    best wishes

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic