WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Spun theme - display sidebar always (10 posts)

  1. jaiwarren
    Member
    Posted 4 months ago #

    I'm using the Spun theme. I'm OK with the sidebars placement on the bottom of each page/post. But, can the sidebar be displayed permanently? I would like the +/- removed and show my widgets on each page.
    Also, the widgets display quite a bit below the end of the text. Can that be adjusted to be right below the end of the text?

  2. Andrew
    Forum Moderator
    Posted 4 months ago #

  3. jaiwarren
    Member
    Posted 4 months ago #

    Is there something that could be altered in this:
    Spun: Sidebar (sidebar.php)

    <?php
    /**
    * The Sidebar containing the main widget areas.
    *
    * @package Spun
    */
    ?>
    <?php if ( is_active_sidebar( 'sidebar-1' )
    || is_active_sidebar( 'sidebar-2' )
    || is_active_sidebar( 'sidebar-3' ) ) : ?>

    <?php echo _x( '+', 'Open sidebar', 'spun' ); ?>

    <?php endif; ?>
    <div id="secondary" class="widget-area" role="complementary">

    <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
    <?php do_action( 'before_sidebar' ); ?>
    <div class="widget-column <?php spun_count_sidebars(); ?>">
    <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
    <?php endif; // end sidebar widget area ?>
    </div>
    <?php endif; ?>
    <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
    <?php do_action( 'before_sidebar' ); ?>
    <div class="widget-column <?php spun_count_sidebars(); ?>">
    <?php if ( ! dynamic_sidebar( 'sidebar-2' ) ) : ?>
    <?php endif; // end sidebar widget area ?>
    </div>
    <?php endif; ?>
    <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
    <?php do_action( 'before_sidebar' ); ?>
    <div class="widget-column <?php spun_count_sidebars(); ?>">
    <?php if ( ! dynamic_sidebar( 'sidebar-3' ) ) : ?>
    <?php endif; // end sidebar widget area ?>
    </div>
    <?php endif; ?>

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

  4. Andrew
    Forum Moderator
    Posted 4 months ago #

    Can you just "display" it "block" in CSS?

  5. jaiwarren
    Member
    Posted 4 months ago #

    I'm not very comfortable with CSS. I did see that in another stream. I just don't want to screw anything up beyond repair...

  6. jaiwarren
    Member
    Posted 3 months ago #

    Is the process of "display" it "block" in CSS a detailed process?
    Or, could someone walk me through it?

  7. Andrew
    Forum Moderator
    Posted 3 months ago #

    Install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin

    Then use its "CSS Code" section of the dashboard to hold your CSS modifications:

    .widget-area {
     display: block !important;
    }
  8. jaiwarren
    Member
    Posted 3 months ago #

    Thank you very much! The widget area is now displayed permanently. There's a +/- link symbol above it that formerly activated the widget. How can I remove that?

  9. Andrew
    Forum Moderator
    Posted 3 months ago #

    Display it none:

    .sidebar-link {
     display: none;
    }
  10. jaiwarren
    Member
    Posted 3 months ago #

    Again, thank you very much!!!

Reply

You must log in to post.

About this Theme

About this Topic