• Resolved npanella

    (@npanella)


    On a categories page the entire body element is being mysteriously pushed downward but there is no trace of a margin-top being added… anyone have any idea on what is causing this?

Viewing 11 replies - 1 through 11 (of 11 total)
  • In order to help you with your issue, we’re going to need more details. The following link should help guide you to what is needed in order for you to get some help:

    http://codex.wordpress.org/Forum_Welcome#Include_as_much_information_as_possible

    Thread Starter npanella

    (@npanella)

    On a categories page the entire body element is being mysteriously pushed downward but there is no trace of a margin-top being added… anyone have any idea on what is causing this?

    Thread Starter npanella

    (@npanella)

    This does NOT happen on any other regular page or post… its just the category archive page.

    Has the category page always done this OR is this something new? If the latter, can you recall what you did last? For example, switch themes, add a plugin, and/or modify the WordPress core code? If the former, have you tried switching to a different theme (preferably a default WordPress theme like Twenty Fifteen) to see if the issue is still reproducible?

    Either way, really, I would suggest deactivating ALL plugins, switching back to a default WordPress theme, and unmodifying any core WordPress code and test to see if the issue persists. Chances are it will not. Then try adding back your current theme without activating any plugins.

    If the issue still cannot be reproduced, then try ONE by ONE reactivating your plugins. Once the culprit plugin(s) has/have been found then switch back to the default WordPress theme and try to reproduce the issue again. Once narrowed down to a particular theme and/or plugin(s), you can find their support forums and report your issue there.

    Thread Starter npanella

    (@npanella)

    Its weird when navigating to a category page it pushes the body of the html document down by 5px without reason..

    Can you provide the URL to where you are seeing the issue? Also, can you answer my questions above? Thanks in advance.

    Thread Starter npanella

    (@npanella)

    Using Mac Firefox 34.0.5, and its handy Tools > Web Developer > Inspector:

    At http://ionzuniverse.com/dev/mps/category/mps-client-news/, I found:

    <div id="wrapper" class="hfeed">
    <header id="header" role="banner">
    <section id="branding">
    <div id="site-title">
    <h1> <------------------------------------------- an oddly placed <h1> tag
    <a rel="home" title=MPS Associate, LLC." …

    Whereas, at http://ionzuniverse.com/dev/mps/, it was not there:

    <div id="wrapper" class="hfeed">
    <header id="header" role="banner">
    <section id="branding">
    <div id="site-title">
    <a rel="home" title=MPS Associate, LLC." …

    NOTE: I am not a programmer, only a software tester, so I have no idea how to fix this issue OR even if the oddly placed <h1> tag is the issue. But I figured it was worth mentioning. πŸ™‚

    And a bit further down the page, directly after a </a> tag, there is the completing </h1> tag. Which, when I hover my mouse pointer over either the start or finish h1 tags, Firefox lights up the extra pixel area both above AS WELL AS below your logo. πŸ™‚

    P.S., I am leaving for the night. But I will check your progress tomorrow. Hopefully what I have written here helps in some way.

    Thread Starter npanella

    (@npanella)

    That was it… The h1 you found was the is_singular() function for wordpress that is not needed. Thank you for the extra set of eyes!

    Oh, how very cool! And yes, using Mac Firefox 34.0.5, I just tested over at http://ionzuniverse.com/dev/mps/category/mps-client-news/ and the additional pixel space both above and below your logo is now gone. Yay and you’re welcome!

    P.S., If this issue has been completely resolved, do be sure to mark this thread “resolved” using the dropdown in the sidebar. πŸ™‚

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

The topic ‘Body Element Pushed Down’ is closed to new replies.