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 { ......
Related Posts:
- Template Hierarchy: confused with index.php, front-page.php, home.php
- How to use a specific category archive index as the site front page?
- Overriding default template if page slug and post type are same
- Change Page Template Based on Category
- Load custom template for specific GET parameter
- where is the code that executes the template hierarchy?
- WordPress Page Hierarchy
- How to force sub-product-category to use the parent category template
- How to determine the template loaded when you are not an Admin?
- Use different template than author.php for get_author_posts_url()
- Template hierarchy override
- The best way to create pages like an ‘about’, ‘contact’ and etc [closed]
- How to define the template priority between built-in categories and custom taxonomies?
- What is the difference between the “Main Index Template”(index.php) and HomePage(front-page.php)
- About template hierarchy
- User role templates
- Front-Page.php and Index.php
- Displaying a custom post type and an archive page
- How to determine top level template file in functions.php? [duplicate]
- Get the current hierarchy php page
- Is the Index template necessary in themes?
- How to create custom 401, 403 and 500 error pages?
- single-{$post_type}-{slug}.php for custom post types
- What is singular.php?
- Custom Post Type Plugin: Where Do I Put The Template?
- How to override WooCommerce template files?
- Custom taxonomy query broken after upgrade to 4.4
- CPT Template Not Showing – Getting 404
- Create “File-less” Page Template in Functions.php
- Overide get_template_part( ‘partials/post’, ‘sidebar’ ); with a plugin
- How to make child categories recognize parent’s template displays
- Template for specific post of custom post type
- Display Authors Comments on Profile Page
- Is it possible to manipulate the list of page templates?
- Loading partial templates with AJAX/PJAX
- Is there a default template file for child pages / subpages?
- Different template for subcategories
- 5 blogs on one WordPress site
- Multiple Single Post templates
- Taxonomy Templates… by hierarchical level?
- Add admin bar link to edit author
- Creating a custom public user page
- Display Editable Text Above CPT Archive Listings
- Display all comments or recent comments per user on author page
- Different templates for parent and children categories/taxonomies
- Archive page showing nothing – issue with WordPress Hierarchy?
- How to use same theme template for multiple taxonomy terms?
- Limit the length of the Author Profile Biographical Text
- Author archive only for custom post type
- How can I set up a category “overview” page?
- Is it possible to have an index page for taxonomy term for each custom post type it is assigned to?
- Show author archive pages for authors with no posts
- Custom Post Type with Nested Taxonomy and Template Files
- Which template name to use for taxonomies but not their terms?
- Store Page Template Files in a Subfolder
- LOST in WP Template Hireachy
- Get $curauth level
- Templates & CSS – Proper Programming Practice?
- Refine custom posts by author
- Authors Page : A page of authors
- How to Handle CSS for Multiple Header header.php Files?
- page_template toggle between 2 templates + 2 permalinks for same post
- How to make an author archive only for certain user role and show related CPT
- Load front-page.php from subfolder
- Static Front Page problem
- index.php template is used instead of blog page
- Creating distinct pages for author profiles and lists of posts by author
- wp_list_authors including custom post types
- Template Hierarchy for get_header()
- Archive or taxonomy pages not working for custom post type
- resolve /author/ to a page or archive (of all authors) template
- Single page template for custom post_type
- WooCommerce Template overriding not working with woocommerce.php
- Trying to manage templates on a blog with lots of custom taxonomies
- Taxonomy landing pages
- is_archive() content being shown instead of is_category()
- How to display user role
- Get the terms of a custom taxonomy for a specific author in author template
- Categories Template Assistance
- Load template file without a post type
- How to apply a custom template for posts by default?
- WordPress Template Hierarchy
- Which php file lists all the post of a category
- Displaying all Video Post Formats to Page
- How can a Theme Contain no Header File or Footer File?
- Any tag pagination page (except the 1st page) loads index.php template instead of tag.php
- Rewrite Custom Post Type URL slug
- author.php shows profiles of all users not authors only
- Where to put my global functions?
- Unable to include a template
- Custom post type and taxonomy permalinks – Structure
- Get data from plugin People list in author template
- WordPress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
- Understanding the WordPress template hierarchy
- Help splitting a custom post type archive into “past” and “upcoming”
- Showing Author Information and Latest Post by author in lightbox when clicked on the name of the author
- pre_get_posts Tax Query not working for custom author page
- What should I put on my index.php?
- Rewrite URL for only archive page (custom post type)
- Hide Author.php template from specific user role