I’m trying to create a Blueprint, with four pages sections. One displaying on the left and one on the right of the Panel. This can be achieved with pages fields, using width: 1/2 and the fields “float” next to its other. But width doesn’t seem to work with pages sections. Is there an easy way to do this without having to use columns?
title: Workshops
sections:
section1:
type: pages
image: icon
label: Weekly workshops
template: workshop-weekly-template
status: listed
width: 1/2
section2:
type: pages
image: icon
label: One-off workshops
template: workshop-one-off-template
status: listed
width: 1/2
heading:
type: fields
fields:
line:
type: line
heading:
type: headline
label: Draft unpublished pages
help: For workshops that are not currently running
section3:
type: pages
image: icon
label: Draft weekly workshops
template: workshop-weekly-template
status: draft
width: 1/2
section4:
type: pages
image: icon
label: Draft one-off workshops
template: workshop-one-off-template
status: draft
width: 1/2
I was using columns, but there was a lot of code and I was hoping to use width to reduce the code:
title: Workshops
columns:
block1:
width: 1/2
sections:
section1:
type: pages
image: icon
label: Weekly workshops
template: workshop-weekly-template
status: listed
block2:
width: 1/2
sections:
section2:
type: pages
image: icon
label: One-off workshops
template: workshop-one-off-template
status: listed
heading:
width: 1/1
fields:
line:
type: line
heading:
type: headline
label: Draft unpublished pages
help: For workshops that are not currently running
block3:
width: 1/2
sections:
section3:
type: pages
image: icon
label: Draft weekly workshops
template: workshop-weekly-template
status: draft
block4:
width: 1/2
sections:
section4:
type: pages
image: icon
label: Draft one-off workshops
template: workshop-one-off-template
status: draft