• Hi.

    Site: phootage.no wp-theme

    As you can see, I have a little issue with content positions.
    I’m a newbie on making themes, so I just used the standard Twenty Eleven as a template.

    A shortlist of what I did:
    – Copied contents of my old HTML- and CSS-files.
    – Corrected paths.
    – Copied images, folders and .js-files.

    CSS:
    I filtered out the contents that isn’t used in my heading-file/the stuff that I left behind in my static HTMLs, to make the style.css more clean and to avoid conflicts.

    BUT

    If you take a look here: phootage.no
    This is what it’s suppose to look like. In the WP-theme it seems that globally, everything is moved about 150px to the right on the screen. Do anyone know where in the style.css I can change this? Is it one wrap/tag somewhere that will correct everything, or is it a ton of individual tags in the style.css that needs to be changed?

    Note: Do not look too much at the contents of the different tabs and scripts yet not working. That is a problem I’d just deal with later. I just have to start at the beginning.

    Thanks in advance for all the help I can get here.

    P.S. I’ve read through the whole style.css without getting a slight idea of what it might be.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey!

    You have 2 div sharing the same id “wrap2”. I’m not sure what you were trying to accomplish but if you rename the second one on to something else it seems to fix 150px to the right thing.

    I hope it helps.

    Thread Starter risington

    (@risington)

    Hey!

    You have 2 div sharing the same id “wrap2”. I’m not sure what you were trying to accomplish but if you rename the second one on to something else it seems to fix 150px to the right thing.

    I hope it helps.

    Thanks for helping out! I simply didn’t see that I actually closed the two wraps and body in both the header AND index-file.

    Now I only have 2 more problems before it seems to be working all fine:
    – The 2-3 px padding from the top and left inside the iframe containing the startup.html. I can’t seem to find out what makes this gap.
    – The rollover javascript that doesn’t seem to load or run properly (take a look at the gallery-tab in the middle of the small navigation bar straight under the iframe).

    If you can help me out on this one as well, I’m saved.
    Thank you very much for helping me out 🙂

    Thread Starter risington

    (@risington)

    I got the padding-thing to work.

    Now the only thing remains is the gallery-script 🙂

    Thread Starter risington

    (@risington)

    Ok, I figured everything out.
    No need to waste more time on this. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Padding unwanted/trouble with positioning’ is closed to new replies.