How to add the sidebar back into the new default theme of WP3.2 – Twenty Eleven.
Twenty Eleven is a very versatile theme, however, the ‘missing’ sidebar on single posts or pages is quite disturbing for some users, loosing their advertising space or the main navigation.
To get the sidebar back is not that simple – style.css is quite complex, and the layout of a single post or page is done with a clever use of a specially introduced css class in the body tag. Check the whole post
Category Archives: Twenty Eleven
To show the ‘featured image’ of the top post as header image in an archive page in the Twenty Eleven theme, edit header.php in the child theme; change this section: to:
This code is for a child theme of Twenty Eleven, because the direct editing of the default theme is not recommended. Since wp3.4, the function get_custom_header() takes care of some of the information of the header images, such as width, … describe it all …
Often asked question – simple solution:
As always – create a child theme to work with – do not edit Twenty Eleven directly.
Edit header.php in the child theme, and locate the code of the h1 tag; add the image code directly before <?php bloginfo( ‘name’ ); ?> or replace this with the image code.
Add some css to format the logo image. logically click here …