go41

category page no posts found – arthemia structure

von Joern am 14. Mai. 2010 | Keine Kommentare

If you have in arthemia a category without any post, the structure breaks. Basically, all pages look fine but when you try to browse categories, the sidebar jumps outside the template to the right of the screen.
Here is how to fix ‚No posts found. Try a different search?‘ in Arthemia.
Find in archive.php close to the end:

Code:

<?php else : ?>

   <h2 class="title">No posts found. Try a different search?</h2>

   <?php endif; ?>

and insert <div id="archive"> before the <?php endif; ?>

It has to look like this:

Code:

<?php else : ?>

   <h2 class="title">No posts found. Try a different search?</h2>
   <div id="archive">
   <?php endif; ?>

this problem you only have if you check an archive (category) with no posts in it! As soon you put a post in your empty category there should be no problem anyway.

(von: f-t-cat)

Sorry, no posts matched your criteria.

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: