navigation not showing
-
My page doesn’t show “older entries” in my navigation div.
I have set a max of 5 posts, and the text doesn’t show.
Never had this issue before, please help.<div class=”navigation”>
<div class=”next”><?php next_posts_link(__(‘« Arkiv’, ‘myhreogdahl’)) ?></div>
<div class=”previous”><?php previous_posts_link(__(‘Newer Entries »’, ‘myhreogdahl’)) ?></div></div>
-
first of all: the links are there in th html in the browser:
<div class="navigation"> <div class="next"><a href="http://www.myhreogdahlbygg.no/wordpress/jobber/page/2/">« Arkiv</a></div> <div class="previous"></div> </div>
the style of it:
.next a { float:left; font: bold 12px Helvetica, Arial, sans-serif; color: #fff; text-decoration: none; background: #c27800; padding: 2px 2px 1px; display:block; }
is conflicting with a style in ngg:
.next { margin-left:5px; padding:3px 7px; text-indent:-10000px; }
suggestion:
rename the class of your posts’ navigation in your code to.nextposts
for instance.thanks, that worked.
Didn’t get what you said about “the links are there in th html in the browser”, though. What does that mean and how do I fix that?Thanks for your help!
Didn’t get what you said about “the links are there in th html in the browser”, though. What does that mean and how do I fix that?
no action needed.
this was my initial check to see if the links were generated by the php templates; then i started looking for a cause why the links would not show on the screen.
in internet explorer you would click: ‘view’ ‘source’ to see the html code of the page in your browser.
in firefox: ‘view’ ‘page source’ or press ‘ctrl u’The link are actually on the page but there’s a CSS conflict that is effectively hiding the links.
ah ok, cheers. All sorted! 🙂
- The topic ‘navigation not showing’ is closed to new replies.