Logo
  1. Docs
  2. Build a Weaverse Hydrogen Theme

Global Section

Published on May 31, 2024, updated a month ago

Global Sections in Weaverse empower you to create and reuse sections across multiple pages and components. This feature enhances the organization and structure of your theme’s content, making maintenance and updates more efficient.

In this guide, we’ll explore how to create, use, and customize global sections in your Weaverse theme.

Creating a Global Section

Creating a global section in Weaverse is straightforward. Follow these steps:

  1. Create a new section.
  2. Select the section.
  3. In the toolbar, click the "Save as Global Section" button.
  4. Name your section and save it.

Save as Global Section Name Global Section

Using a Global Section

After creating a global section, you can easily incorporate it into your theme:

  1. Open the Global Sections Modal in the top left corner of the page editor.
  2. Select the desired global section.
  3. Click "Add to Page."

Open Global Section Modal Global Section Modal

Note: Only one global section can be used per page.

Customizing a Global Section

Customizing a global section is similar to editing a regular section. You can:

  • Add, edit, and delete fields.
  • Add and remove components.

Changes will sync across all pages and components that use the global section.

Conclusion

Global sections are a robust feature of Weaverse, allowing you to efficiently manage and update your theme's content by reusing sections across multiple pages. Follow these steps to leverage global sections in your Weaverse theme and enhance your workflow.

Was this article helpful?