Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a small problem with my wordpress. I am developing this blog and whenever I press on author name as usual I get the page all pages by a specific author, but this page looks really bad. Any ideas of where I should inspect for problem? Thanks in advance!

share|improve this question

2 Answers 2

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

 
discard

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.