Skip to main content

Page Builder

Page Builder, introduced in Version 13, enables you to build professional web pages quickly by combining pre-configured Web Templates. Instead of manually designing every section, you can assemble reusable content blocks, customize their values, and publish visually appealing pages with minimal effort.

Summary

  • Create modern web pages using reusable Web Templates.
  • Configure pages without writing HTML or CSS.
  • Add multiple sections using the Page Building Blocks table.
  • Customize spacing, background, visibility, and styling for each section.
  • Publish pages directly from the Web Page document.
Introduced in Version 13
Page Builder is available from ERPNext Version 13 onwards and works through the Web Page DocType.

How to Create a Page Using Page Builder

Navigation
Go to Website > Web Site > Web Page or search for Web Page from the Awesome Bar.

Follow these steps to create a page using Page Builder:

  1. Create a new Web Page.
  2. Enable the Full Width checkbox to allow templates to span the page width.
  3. Select Page Builder as the Content Type.
  4. In the Page Building Blocks section, click Add Row.
  5. Select the required Web Template.
  6. Click Edit Values.
  7. Provide the required information for the selected template and click Submit.
  8. Save the document.
  9. Enable the Published checkbox to make the page accessible on your website.
A page is only visible on the website when the Published option is enabled.
After saving the document, click See on Website from the sidebar to preview the published page.

Adding Multiple Sections

A Page Builder page is composed of one or more reusable Web Templates. Each template represents an individual section of the page.

To create longer or more dynamic pages, continue adding rows to the
Page Building Blocks table. Every new row can contain a different
template, allowing you to mix banners, feature sections, testimonials,
product showcases, call-to-action blocks, and more.

Benefits of Multiple Sections

  • Create visually rich landing pages.
  • Reuse standard ERPNext web templates.
  • Arrange sections in any preferred order.
  • Customize every section independently.

Section Options

Each row inside the Page Building Blocks table includes additional configuration options that control the appearance and behavior of that section.

Option Description
Add Container Displays the template inside a centered container instead of using the full browser width.
Add Space on Top Adds vertical spacing above the section to improve layout and readability.
Add Space on Bottom Adds spacing below the section to separate it from the next content block.
Add Gray Background Applies a gray background to visually distinguish the section from surrounding content.
Hide Block Temporarily hides the section without deleting it from the page configuration.
CSS Class Assign a custom CSS class for advanced styling through the page’s custom CSS.
Tip
Use Add Container for text-heavy sections to improve readability, while full-width sections are better suited for banners, hero images, and promotional content.
Note
The CSS Class field is intended for advanced customization. Developers can target these classes from the page’s custom CSS to create unique layouts and styling.
Best Practice
Instead of creating one large section with excessive content, split your page into multiple focused sections using different Web Templates. This improves maintainability, readability, and the overall user experience.
Rating: 0 / 5 (0 votes)