• Resolved jaiwarren

    (@jaiwarren)


    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?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter jaiwarren

    (@jaiwarren)

    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 –>

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you just “display” it “block” in CSS?

    Thread Starter jaiwarren

    (@jaiwarren)

    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…

    Thread Starter jaiwarren

    (@jaiwarren)

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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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;
    }

    Thread Starter jaiwarren

    (@jaiwarren)

    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?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Display it none:

    .sidebar-link {
     display: none;
    }

    Thread Starter jaiwarren

    (@jaiwarren)

    Again, thank you very much!!!

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Spun theme – display sidebar always’ is closed to new replies.