Support » Fixing WordPress » Why are my "previous" and "next" links not working?

  • Resolved Noodles

    (@snugbabyshop)


    When I open a particular post, there are “previous” and “next” links at the very top with the previous and next post titles in there (containing the actual posts titles instead of “previous/next”) so that one can easily read through posts in particular categories. However, these links are not working and don’t lead away from the existing page at all. Any ideas please as to how to turn them into appropriate links?

Viewing 6 replies - 1 through 6 (of 6 total)
  • a:
    forum search – there are many related threads

    b:
    link to your site?
    will help to illustrate the problem, and might give some clues to the cause of your problem.

    c:
    paste the code of single.php into a http://pastebin.com/ and post the link to it here. someone might be able to have a look at it and make some suggestions.

    Noodles

    (@snugbabyshop)

    Thanks alchymyth. I’ve just pasted the info into pastebin under username snugbabyshop.

    … and post the link to it here.

    can you get the link to your pasted thing, please?

    Noodles

    (@snugbabyshop)

    Ooops sorry. Heres the link to it:

    http://pastebin.com/KSSPX9h8

    the ‘prev/next’ links are working, but seem to be partly covered by the css #menu element.

    before you edit, make backup copies of the existing theme files.

    a few changes to style.css:

    from this:

    /* deal with clearing floating divs */
    .clearfix:after {
    	content: ".";
    	display: block;
    	height: 0; clear: both; visibility: hidden;
    	}
    	.clearfix {display: inline-table;}

    to this:

    /* deal with clearing floating divs */
    .clearfix:after {
    	content: ".";
    	display: block;
    	height: 0; clear: both; visibility: hidden;overflow:hidden;
    	}
    	/*.clearfix {display: inline-table;}*/

    and from this:

    #menu {width:990px; height:45px; margin:4px 0 10px 47px; }
    #menu ul {
    	float:right; clear:both;
    	list-style:none;
    	margin:0 45px 0 0; padding:0;
    	}

    to this:

    #menu {width:990px; margin:4px 0 0px 7px; }
    #menu ul {
    	float:right; clear:both;
    	list-style:none;
    	margin:0 0px 0 0; padding:0;
    	}

    (not widely tested, particular not with the other pages, and in many different browsers;
    if the changes lead to negative lauout problems somewhere else in the site, go back to the backup copies; and report this here)

    Noodles

    (@snugbabyshop)

    Worked a treat – i’ve tested it also and all is good. I’ll close this thread now and re-open if I observe any problems. Thanks a lot again for your help alchymyth.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why are my "previous" and "next" links not working?’ is closed to new replies.