Closed (fixed)
Project:
Solo
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2025 at 09:15 UTC
Updated:
4 Aug 2025 at 04:29 UTC
Jump to comment: Most recent
I would like to have the full page width during editing. How can I get the meta that is on the left inside layout-region-node-secondary out of the way?
Either move it to the bottom, or into a tab, ...
I tried using field group module, but it only moves some fields. Please see screenshots.
| Comment | File | Size | Author |
|---|---|---|---|
| 2025-07-17_11h10_22.png | 230.71 KB | maxilein | |
| 2025-07-17_11h13_36.png | 150.6 KB | maxilein |
Comments
Comment #2
maxilein commentedComment #3
flashwebcenterHello,
If you're using the Solo theme as your admin theme, you can adjust the layout to stack the form sections vertically—this moves the right-hand column below the main content area.
To achieve this, apply the following CSS:
Note: Personally, I use the Gin theme, which replaces Claro. Gin includes a built-in option to expand the "stage" area to full width, providing a better editing experience without custom CSS.
Best wishes,
Alaa
Comment #4
maxilein commentedThank you that css works.
Is there a template that I can override in order to not force the remaining fields to be inside that layout-region-node-secondary?
Comment #5
flashwebcenterIn the Solo theme, the default node add/edit form is rendered using: solo/templates/admin/node-edit-form.html.twig
This template is applied for all content types when creating or editing nodes. If you'd like to customize the layout of the form globally (for all content types), you can:
Creating a Per-Content-Type Node Edit Template
If you need a custom layout or field arrangement for specific content types, such as Article, follow these steps:
Step 1: Download the Latest Dev Version of Solo
Ensure you're working with the most recent version of Solo, which includes support for: node_edit_form theme overrides.
Step 2: Copy the Default Template
Copy: solo/templates/admin/node-edit-form.html.twig to your sub-theme and rename it using the correct naming convention: node-edit-form--article.html.twig This template will be used only when editing or creating Article nodes.
Step 3: Print Fields Individually
Inside your node-edit-form--article.html.twig, you can print specific fields manually.
Here’s a basic example:
Important: Any field you render explicitly (like form.title or form.body) must be excluded from the form|without() list. This avoids rendering them twice.
Step 4: Discover Available Fields
To see all available fields in your form, use a development dump:<pre>{{ dump(form) }}</pre>
This will output the form structure in the HTML source and help you determine field names to render.
Example Template Structure
This gives you full control over the layout, grouping, and appearance of the node edit form per content type in your Solo-based sub-theme.
Best wishes,
Alaa
Comment #6
maxilein commentedThank you!
Comment #7
flashwebcenterYou are welcome!