• I’m getting white space between the end of my post and the post navigation (categories and comments button). The navigation is pulled down to where the left sidebar ends, leaving a space between the text and the navigation. I’m using sidebar widgets but the problem persists when I disable them. On a different thread, someone with a similar problem discovered their navigation <div> was outside the post <div> but I looked at index.php and that doesn’t seem to be my problem.
    I’ve put the relevant code here:
    https://wordpress.pastebin.ca/403660
    The blog itself is here:
    https://wiki.provisionslibrary.org/blog/
    Any help would be greatly appreciated. I just can’t figure out what the problem is!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I doubt if this will fix your problem, but around line 25 there’s a </div> missing.
    In Opera the posts start below the right sidebar, there’s whitespace above. So it seems like your right sidebar is in the way.

    edit: The Opera problem I mentioned was because of the flexible width in combination with a fixed size for your main content div.

    I seem to be doing a lot of this today ?? Frightening people, that is ??

    You have plenty of errors (view source in Firefox) including divs where they shouldn’t be

    This seems to be the most likely explanation

    Sort out the first few errors and the rest magically resolve themselves as there’s a cumulative cascading effect

    line 1 column 1 - Warning: missing <!DOCTYPE> declaration
    line 2 column 1 - Warning: discarding unexpected <!DOCTYPE>
    line 3 column 1 - Warning: discarding unexpected <html>
    line 5 column 1 - Warning: discarding unexpected <head>
    line 1 column 1 - Warning: <meta> isn't allowed in <div> elements
    line 1 column 1 - Warning: <title> isn't allowed in <div> elements
    line 1 column 1 - Warning: <meta> isn't allowed in <div> elements
    line 1 column 1 - Warning: <link> isn't allowed in <div> elements
    line 1 column 1 - Warning: <link> isn't allowed in <div> elements
    line 1 column 1 - Warning: <link> isn't allowed in <div> elements
    line 1 column 1 - Warning: <style> isn't allowed in <div> elements
    line 1 column 1 - Warning: <link> isn't allowed in <div> elements
    line 1 column 1 - Warning: <style> isn't allowed in <div> elements
    line 1 column 1 - Warning: <style> isn't allowed in <div> elements
    line 108 column 1 - Warning: discarding unexpected <body>
    line 225 column 302 - Warning: <a> unexpected or duplicate quote mark
    line 225 column 302 - Warning: <a> attribute name "&amp;"t" (value="thankyou_signup.dwt"") is invalid
    line 301 column 83 - Warning: replacing <p> by <br>
    line 301 column 83 - Warning: inserting implicit <br>
    line 301 column 83 - Warning: <br> element not empty or not closed
    line 436 column 259 - Warning: replacing <p> by <br>
    line 436 column 259 - Warning: inserting implicit <br>
    line 436 column 259 - Warning: <br> element not empty or not closed
    line 362 column 4 - Warning: missing </div>
    line 346 column 4 - Warning: missing </div>
    line 331 column 4 - Warning: missing </div>
    line 313 column 4 - Warning: missing </div>
    line 294 column 4 - Warning: missing </div>
    line 279 column 4 - Warning: missing </div>
    line 275 column 1 - Warning: missing </div>
    line 109 column 1 - Warning: missing </div>
    line 1 column 1 - Warning: missing </div>
    line 222 column 2 - Warning: <div> anchor "sidebar" already defined
    line 368 column 298 - Warning: trimming empty <sup>
    
    0 errors / 34 warnings
    Thread Starter blairm

    (@blairm)

    thanks for the pointers. I’m pretty new to all of this, but tackling the errors in the code makes more sense than just looking for the solution to a single problem.
    thanks again

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘White space between post text and navigation’ is closed to new replies.