• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

CSS Code to hide sidebar not working – as suggested by StudioPress support

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › CSS Code to hide sidebar not working – as suggested by StudioPress support

This topic is: resolved

Tagged: child theme, css, hide sidebar, Outreach Pro, primary sidebar, secondary sdiebar, Sidebar, style.css, theme

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago by avi312singh.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 31, 2016 at 5:55 am #198515
    avi312singh
    Member

    Basically the title says it all but I am unable to hide the secondary/primary sidebar with the following CSS and with a page ID of 61:

    .page-id-61 .sidebar-primary {
        display: none;
    }
    
    .page-id-61 .sidebar-secondary {
        display: none;
    }

    Anyone have any ideas?

    http://canineassociatedservices.co.uk/about/
    December 31, 2016 at 9:49 am #198522
    Christoph
    Member

    Hi,

    the 1180px media query is missing a closing }
    On a side note, it´s better to add custom css above the media queries because it will override the "settings/values" of the media queries.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    January 1, 2017 at 1:48 pm #198567
    avi312singh
    Member

    Thanks! That was a silly mistake!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘CSS Code to hide sidebar not working – as suggested by StudioPress support’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble