WordPress.org

Forums

Twenty Thirteen
theme options - sidebar, fixed width (6 posts)

  1. telston
    Member
    Posted 1 year ago #

    Is there an ability to add a sidebar and make it a fixed width theme?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. a_pemberly
    Member
    Posted 1 year ago #

    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.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    @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:

    http://wordpress.org/support/forum/themes-and-templates#postform

  5. ajamm
    Member
    Posted 1 year ago #

    How do you add a sidebar to this theme?

  6. 008Rohit
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.