WordPress.org

Support

Support » Themes and Templates » theme options – sidebar, fixed width

theme options – sidebar, fixed width

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi
    Forum Moderator

    @esmi

    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.

    a_pemberly
    Member

    @a_pemberly

    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!

    <?php
    /**
     * 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.

    WPyogi
    Forum Moderator

    @wpyogi

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

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

    You can do so here:

    Themes and Templates

    ajamm
    Participant

    @ajamm

    How do you add a sidebar to this theme?

    008Rohit
    Member

    @008rohit

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

    http://wordpress.org/support/topic/making-two-sidebars-independent-of-each-other?replies=1

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