Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The Twenty Fourteen theme was used to create the basis of my own child theme. It's been pretty easy to override, but the left sidebar is proving difficult.

I don't want to remove the sidebar completely, but nothing I do in the CSS file allows me to get rid of the black bar. Even removing the sidebar from a template file leaves an empty black strip where the sidebar used to be.

Has anyone found a way to peacefully override this without throwing out the whole system?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The sidebar is created in two different places:

  • The black strip is created from .site:before, check line 3910 of style.css
  • #secondary actually displays the sidebar information, check line 3923 of style.css

.featured-content, .site-content, .site-main .widecolumn provide left padding to the content area should you wish to dispose of that too.

share|improve this answer
    
Thanks for the help here –  Iso Aug 8 at 16:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.