Support » Themes and Templates » content-sidebar and sidebar-content layouts

  • Resolved takecare9


    Sorry for a stupid question. I’ve tried to find something about this in the docs, but did not find anything.

    I’ve downloaded the underscores starter theme. And there’s a directory called “layouts” in there. With 2 files (content-sidebar.css and sidebar-content.css). There’s a basic layout in these two files.

    How do wordpress use them? And why don’t we put the basic layout in the main style.css file? I want to understand the logic behind this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator stephencottontail


    Underscores is a starter theme for developers to use as a base for developing WordPress themes. They’re not in the main stylesheet because Underscores was designed to be as generic as possible, to make it easier for developers. You could call in the one you need using wp_enqueue_style() and delete the other one, or you could delete both if you have a different layout in mind.

    Thanks. I think I got it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘content-sidebar and sidebar-content layouts’ is closed to new replies.