Support » Theme: Twenty Thirteen » theme options – sidebar, fixed width

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do not edit the Twenty Thirteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

    Hi there, I made a school error and accidentially edited the Twenty Thirteen theme. Now my sidebar appears below blog posts in the centre rather than on the right. I was in sidebar.php and just can’t see what I’ve done. The sidebar at the footer works fine. Help!

     * The sidebar containing the secondary widget area, displays on posts and pages.
     * If no active widgets in this sidebar, it will be hidden completely.
     * @package WordPress
     * @subpackage Twenty_Thirteen
     * @since Twenty Thirteen 1.0
    if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
    	<div id="tertiary" class="sidebar-container" role="complementary">
    		<div class="sidebar-inner">
    			<div class="widget-area">
    				<?php dynamic_sidebar( 'sidebar-2' ); ?>
    			</div><!-- .widget-area -->
    		</div><!-- .sidebar-inner -->
    	</div><!-- #tertiary -->
    <?php endif; ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Thanks in advance

    PS. I’m not a developer at all, very much a beginner.

    @a_pemberly – please start your own thread per the forum guidelines –

    You can do so here:

    Themes and Templates

    How do you add a sidebar to this theme?

    How do you make the secondary sidebar fixed and the primary sidebar independent of the secondary one?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘theme options – sidebar, fixed width’ is closed to new replies.