WordPress.org

Ready to get started?Download WordPress

Forums

Resizing sidebar (7 posts)

  1. davidkynan
    Member
    Posted 2 years ago #

    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.

  2. davidkynan
    Member
    Posted 2 years ago #

    Can anyone help?

  3. DXigner Resources
    Member
    Posted 2 years ago #

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

  4. davidkynan
    Member
    Posted 2 years ago #

    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.

  5. davidkynan
    Member
    Posted 2 years ago #

    Still looking for help with this.

  6. DXigner Resources
    Member
    Posted 2 years ago #

    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.

  7. davidkynan
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic