• hi everyone,
    could somebody take a look at my project and tell me why my “page” div isn’t displaying properly on “news” page. I can’t see where the problem is, the div works fine on other pages.
    here is the link: https://joygrafika.com/rooney/news/

    much appreciate
    yoshid

Viewing 15 replies - 1 through 15 (of 32 total)
  • Looks like your footer is being called within the page div. Close it before the end of this template page.

    Thread Starter yoshid

    (@yoshid)

    <?php get_footer(); ?> is outside of the page div. if it’s being called then I’m not sure why.

    On the contact page you would be correct. But the other pages where that is not showing the white background. I can say with certainty that it is within the page div.

    Thread Starter yoshid

    (@yoshid)

    I agree, but…
    the news page is controlled by the index.php and on that page the get footer script is outside of the page div yet it’s calling it within. I’m so lost…

    Most likely you just forgot to close another div somewhere. Happens all the time.

    If you need someone to take a closer look for you check out wordpressrepair.com

    Thread Starter yoshid

    (@yoshid)

    ok, I’ll give it a shot. thanks for your help jclark.

    Thread Starter yoshid

    (@yoshid)

    I checked my divs on the index.php page. their all closed.

    Yes I would agree. The issues if I am not mistaken is on the news page and a few others? You want the white background correct?

    Check which template file is used to generate the current page… index.php is the default, review how pages/posts are formed with your theme.

    Thread Starter yoshid

    (@yoshid)

    yes, the news page displays all the new blog posts. other pages are fine. if you look at the page div in firebug or something like that, you’ll notice on the news page the “page” div does not stretch down to the bottom. I agree it looks like there is an open div or a float somewhere I just can’t see where.

    Thread Starter yoshid

    (@yoshid)

    I have gone through the index.php few times, I don’t see a problem.

    Index.php is not the page/post template.

    Thread Starter yoshid

    (@yoshid)

    it is in this template.

    Is your index.php file what you are using to control your news page?

    Thread Starter yoshid

    (@yoshid)

    yes it is.

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Problem with "page" div’ is closed to new replies.