How To Create a Page in Bricks Builder

I’m confused about one of the core principles of page/post templates in Bricks.

I created a basic template for all WordPress posts and pages. Its only job is to set the margins for Wordpress content. It has a WordPress content element in it.

I set this to be used on all Pages and Posts.

Okay, so far all is fine.

The problem comes when I want to create a page using bricks builder.

When I create a new page in Wordpress and then “Edit In Bricks”, it uses the default page template I created (of course) so I can’t add anything using Bricks because the only element in there is the WordPress content element.

The only way I can get around this is to create a page, then create a template for that page, then assign the template to that particular page in the Template settings under “individual” but that seems absurd.

Surely I don’t have to manually go into the template settings and assign every new Bricks page to that Template before I edit it in Bricks Builder do I?

I am clearly missing something very basic but I can’t find the answer in the tutorials.

How do I create a template that gets used on every post or page except the ones I want to create/edit in Bricks?

You can exclude post/pages with template conditions in template settings and the template wont be used on that page or post.

Cheers!

Right, thank you, but that means that every time I need to create a page using Bricks Builder, I have to:

  1. Create a draft page.
  2. Save draft.
  3. Go into Bricks > Templates.
  4. Open my Pages/Posts default template.
  5. Exclude my new page in the display settings.
  6. Go back to my draft and choose edit in Bricks.

All that just to start creating a new page every time?
That seems absurd. Is that really the only/fastest way to do it?

You can use Theme Styles to set basic margins for all pages or make a custom class, like .default-section or .default-contanier and set those up and add them to every tempate or page. Then you can add another custom class like .section_mysection or .container_mycontainer with other settings specific for one page or many pages, it’s just a matter of adding the class to a section or page or whatever element you choose. You can add those classes in addition to the default classes. Then you could even add more classes like .section_fu and .container_fu, and add those with the other 2, etc.

Hi! Were you able to solve this issue? I am going through the same issue.

I ‘ve been in the same « problem »: I think that you have to choose between edit immediately with bricks or make a template (the result is the same) and use some classes of your own to organize the margins as said macksix. You can’t edit inside a template, unless you want to modify the template.

I tried that to edit the content of some articles but it didn’t worked

I managed to create a page template that allows me to creat pages in either Wordpress/Gutenberg or Bricks.

It’s super simple. This is what I did and I don’t know if it’s the best practice, but it seems to work well.

In my Pages template (conditions: use on all Pages) I put a section with a container that has a Section, with a container that has a Wordpress Post Content block in it.

Now if I have a page with content created in Gutenberg, the content shows up on the page, and if I choose “edit in bricks” I can add any bricks elements to it.

If there is no Gutenberg post content on the page, it doesn’t matter. Nothing shows up.

I’m not sure why, but that previous solution doesn’t seem to work (Did it ever?) but this one does:

  1. Make a template that has two “Post Content” elements.
  2. Set the Data Source to Bricks for one of them, and Wordpress for the other one. (see screenshot)

Then when you create a page or post that uses that template, any content added in either Bricks builder or the regular Gutenberg editor will show up.