WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a blog and whenever I press on an author name I get the page with all pages by this author, but this page looks really bad.

Any ideas of where I should inspect for problem?

share|improve this question
up vote 0 down vote accepted

please refer to the codex: http://codex.wordpress.org/Template_Hierarchy#Author_display

however, your problem is caused by a conflict of the .author class output by the body_class() and this existing style in custom.css:

.author {
    float: left;
    margin-top: -3px;
    width: 219px;
    background: #E7ECEF;
    border-right: 1px solid #D6DFDC;
    height: 41px;
    cursor: pointer;

check why this style is added there in the first place; if there is no reason, remove it; if there is a good reason, try to change it to:

#content .author { ......
share|improve this answer
How did you get this? Cause you are so right. I was inspecting with firebug for an hour and you found the problem in a minute. How did you do this? :) – user385917 Aug 12 '11 at 12:21
a: seen it before; b: i use firefox web developer add-on; c: although there is a css id #author in the theme, there is possibly no css class .author – Michael Aug 12 '11 at 12:35

please check author.php file in your theme folder.

If there is no author.php file in your theme folder, you have to edit archive.php file. The archive.php file lists all archive posts(including the author posts) in your WP blog.

If there is no archive.php file in your theme folder, Simply edit the index.php file.

you can check if the page is author page by is_author() function.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.