Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How do you split a blueprint horizontally (side by side)

Solved by Pedro M View solution

Started by Dean Bateman 4 years ago · 2 replies · 822 views
4 years ago

How do you split a blueprint horizontally (side by side)?

image|690x244

to put it in another tab is like this, but i cannot find how to split the page, can anyone help?

YAML
extends@: default

form:
  fields:
    tabs:
        fields:
            product:
                type: tab
                title: Product Details
                fields:
                    header.product.options:
                    type: section
                    title: Product Options
                    underline: true
            images:
                type: tab
                title: Product Image Details
                fields:
4 years ago Solution

Hello.
Take a look at the Grav help. You have to use a column-type blueprint, with two columns, and place the content you want in each of them.

You can see an example if you see the default.yaml code in the system/blueprints/pages folder

4 years ago

Thanks appreciate the help,

I had looked for examples in the system folder just didn't know what I was looking for.

But this is perfect. Thanks

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Anna, 2 days ago
2 53 16 hours ago
Forms & Blueprints · by Anna, 3 days ago
7 82 16 hours ago
Forms & Blueprints · by Anna, 1 week ago
5 186 6 days ago
Forms & Blueprints · by TomW, 1 month ago
3 379 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 595 2 months ago