WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
container (4 posts)

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

    http://wordpress.org/extend/themes/pinboard/

  2. WPyogi
    Volunteer Moderator
    Posted 1 year 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:

    http://www.w3schools.com/css/css_float.asp

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

  3. photoJoe
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    joe

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags