WordPress.org

Forums

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

  1. jaiwarren
    Member
    Posted 1 year 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 1 year ago #

  3. jaiwarren
    Member
    Posted 1 year 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 1 year ago #

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

  5. jaiwarren
    Member
    Posted 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago #

    Display it none:

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

    Again, thank you very much!!!

  11. shoppingroutes
    Member
    Posted 7 months ago #

    Hi Andrew, good it be possible to get the sidebar not below but at the left site?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic