• Resolved Unforgiven

    (@unforgiven)


    Hi WP-guru’s,

    I am currently trying to modify a WP-theme. For some reason, I can’t seem to figure out how to reposition a certain div in this theme.
    You can see the problem on https://wordpress.kaatjeschrijft.nl/wordpress/
    The piece of paper should be aligned with the rest of the ‘paper’ main part. But for some reason, I cannot seem to figure out how to do this.

    I tried to figure out how the div’s piece together with the Firefox Web Developer plugin. When I do this, and check the div’s, I find a div which I cannot trace in the php files. It concerns div ‘top_menu’, which is not in the index.php nor in the header.php ( the two pages I think it should be in).

    Perhaps I am overlooking something. Can anybody point me out where the problem is ??

    thanks & cheers,
    Unforgiven.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I tried to figure out how the div’s piece together with the Firefox Web Developer plugin.

    Try using Firebug. It’s a lot better for this kind of thing.

    #top needs to have the same width as #content: 530px.

    Thread Starter Unforgiven

    (@unforgiven)

    Hi Esmi,

    Thanks for the tip, I’ve installed Firebug. And thanks for pointing me out to the css fix.

    Alignment is better now, but what I don’t understand is the following:
    I’ve made the width of the top and content div 530 pixels.
    The graphics used as background is for both div’s 570 pixels wide.

    However, when you check the site, you see that the graphic of the top div is not shown completely ( So it appears, I would assumen, both graphics would be aligned precisely above each other).

    When I widen the div’s to 570 pixels to fit the graphics width, nothing changes, the upper graphic is still misaligned.

    Another tip or hint ??

    Cheers,
    Unforgiven.

    Thread Starter Unforgiven

    (@unforgiven)

    Hi,

    Anyone who can help me out ?

    cheers,
    Unforgiven

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with positioning div via CSS’ is closed to new replies.