Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter foresme

    (@foresme)

    Have tried:

    .page-id-60 #sidebar{
    display:none!important;
    }

    .category-60 #sidebar{
    display:none!important;
    }

    .archive .category #sidebar{
    display:none!important;
    }

    .archive.category.category-future-events.category-60 #sidebar{
    display:none!important;
    }

    .archive #sidebar {
    display:none!important;
    }

    body.archive.category.two-col-left-950 #main-sidebar-container #sidebar {
    width: 22.385%;
    display: none;
    }

    Why u didnt try category.php. just remove codes there.

    It looks like you’ve forgotten the closing bracket at line 1118 of your child theme’s stylesheet, right after this section:

    .widget_sfwd-courses-widget h4 {
    margin-top:10px;
    margin-bottom:10px;

    which will cause parsing errors throughout the rest of the stylesheet. After you’ve added the closing bracket for that section, try this:

    .category-60 #main-sidebar-container #sidebar{
    display:none;
    }
    Thread Starter foresme

    (@foresme)

    @stephencottontail

    You sir are a GENIUS.

    Fixed and is now awesome.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove sidebar from category page with CSS’ is closed to new replies.