Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter KHB92

    (@kdhead)

    @gary-barrett I updated the site and added the CSS. It worked! Thank you so much!

    Thread Starter KHB92

    (@kdhead)

    Thank you @gary-barrett for responding.

    When I go to Themes > Customize, it does not have an option for Additional CSS. I went to Appearance > Editor and there is a spot for the sidebar. It has the following. Should I add that in there or should it go somewhere else? I’m sorry. I’m fairly new to CSS. Thank you in advance!

    /************* ACTIVE SIDEBARS ********************/

    // Sidebars & Widgetizes Areas
    function bones_register_sidebars() {
    register_sidebar(array(
    ‘id’ => ‘sidebar1’,
    ‘name’ => __( ‘Sidebar 1’, ‘bonestheme’ ),
    ‘description’ => __( ‘The first (primary) sidebar.’, ‘bonestheme’ ),
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h4 class=”widgettitle”>’,
    ‘after_title’ => ‘</h4>’,
    ));

    /*
    to add more sidebars or widgetized areas, just copy
    and edit the above sidebar code. In order to call
    your new sidebar just use the following code:

    Just change the name to whatever your new
    sidebar’s id is, for example:

    register_sidebar(array(
    ‘id’ => ‘sidebar2’,
    ‘name’ => __( ‘Sidebar 2’, ‘bonestheme’ ),
    ‘description’ => __( ‘The second (secondary) sidebar.’, ‘bonestheme’ ),
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h4 class=”widgettitle”>’,
    ‘after_title’ => ‘</h4>’,
    ));

    To call the sidebar in your template, you can just copy
    the sidebar.php file and rename it to your sidebar’s name.
    So using the above example, it would be:
    sidebar-sidebar2.php

    */
    } // don’t remove this bracket!

    Hi everyone! I am having a similar issue!

    On my site (http://conventionsouth.com), the sidebar is appearing with white and grey stripes behind it. If there is not an active widget, it appears as white, but when I add a widget, it shows the stripes.

    • This reply was modified 8 years, 11 months ago by KHB92.
Viewing 3 replies - 1 through 3 (of 3 total)