WordPress.org

Support

Support » Themes and Templates » Resizing sidebar

Resizing sidebar

  • I am trying to move my sidebar with no luck – I’d like it to be wider and further from the right. I have edited the style.css but when change the margin or the width the sidebar disappears completely. I tried making the first column less wide, making the video on my homepage less wide, but no difference when I edit the sidebar width.

    My site is http://www.personis.co and the theme is Third Style.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can anyone help?

    U may edit it in style.css (style sheet) find where the theme
    Define its sidebar.
    [link removed]

    As I wrote above, I have edited the style.css but when I change the margin or the width the sidebar disappears completely. I tried making the first column less wide, making the video on my homepage less wide, but no difference when I edit the sidebar width – still disappears completely when making any changes.

    Still looking for help with this.

    Mayb you can post the css script for the way you define the style for your sidebar. As well as sidebar source code function in function.php.

    Or else we hardly determine the problem.

    This is the sidebar.php –

    <?php
    /**
    * The Sidebar containing the primary and secondary widget areas.
    *
    * @package WordPress
    * @subpackage Third_Style
    * @since Third Style 1.0
    */
    ?>

    <div id=”primary” class=”widget-area” role=”complementary”>
    <ul class=”xoxo”>

    <?php
    /* When we call the dynamic_sidebar() function, it’ll spit out
    * the widgets for that widget area. If it instead returns false,
    * then the sidebar simply doesn’t exist, so we’ll hard-code in
    * some default sidebar stuff just in case.
    */
    if ( ! dynamic_sidebar( ‘primary-widget-area’ ) ) : ?>

    <li id=”archives” class=”widget-container”>
    <h3 class=”widget-title”><?php _e( ‘Archives’, ‘thirdstyle’ ); ?></h3>

      <?php wp_get_archives( ‘type=monthly’ ); ?>

    <li id=”meta” class=”widget-container”>
    <h3 class=”widget-title”><?php _e( ‘Meta’, ‘thirdstyle’ ); ?></h3>

      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • <?php wp_meta(); ?>

    <?php endif; // end primary widget area ?>

    </div><!– #primary .widget-area –>

    <?php
    // A second sidebar for widgets, just because.
    if ( is_active_sidebar( ‘secondary-widget-area’ ) ) : ?>

    <div id=”secondary” class=”widget-area” role=”complementary”>
    <ul class=”xoxo”>
    <?php dynamic_sidebar( ‘secondary-widget-area’ ); ?>

    </div><!– #secondary .widget-area –>

    <?php endif; ?>

    For the sidebar source code in functions.php, how do I find this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Resizing sidebar’ is closed to new replies.