Components and popups

Components

A component is a piece of layout you use on many pages, such as a call to action, a pricing card or your footer. Edit it on any page and every page that uses it updates; detach it to change one page only.

When to use a component

Use a component for anything that must look the same everywhere and that you'll change later: a call-to-action band, contact details, an announcement bar, a footer, a mega menu card.

If you only want a starting point that each page then changes on its own, save a template instead.

Make a component

There are three ways:

  • From a page: select a section or element and click Save as component (the ◇ button in the toolbar, or in the settings panel). Give it a name. It's saved and put back in the same place, now as a component.
  • From scratch: Kufi → Components → Add component. The builder opens directly.
  • From the Kufi library: in the builder, open the Components panel → Kufi library and drag one onto the page. It's copied into Yours as your own component, so you can edit it.

A component can start with a whole section or with a single element, such as a card that sits inside a column.

Place a component

Open the Components panel → Yours and drag one onto the page, or add the Component element and pick one in its settings. On the page, a component has a dashed teal outline and a "Component" label.

Change a component

  • Right on the page: click the component. Its own elements open inside it, so you can select and change them like anything else; the settings panel says "Part of a component". Saving the page saves the component too: Save draft keeps the change as a draft, Publish (or Update) publishes it, and every page that uses it shows the change.
  • On its own: select it and click Edit original. The page is saved first, then the component opens in the builder in a new tab. When you come back to the first tab, it shows the new version.

If the same component is on a page twice, the one you clicked is the one open for editing; the others show the change once you save.

While you edit a component on its own, the builder reminds you: "You are editing a component. Publishing updates it everywhere it is used."

Detach

Detach replaces the component on this page with a normal copy of its content. The copy no longer follows the original, so you can change it on this page only. Other pages keep the component. Changes you made on the page and haven't saved go with the copy, not to the component.

See where it's used

  • The settings panel of a placed component shows Where it's used.
  • Kufi → Components has a Used on column.
  • The Yours list in the builder shows how many places use each one.

Components in the header, footer and mega menus count too.

The Kufi library

Free Premium
Feature card, Testimonial card, Call-to-action bar, Stats row Pricing card, Team member, Contact strip, Announcement bar

Premium components need Builder Pro or Kufi ONE (activate a Pro key). Making your own components is free.

Components elsewhere on the site

  • Footer: choose a component under Appearance → Customize → Kufi → Footer → Footer component.
  • Header: add a Component item in the header builder.
  • Mega menus: add one as the last column of a mega menu.

Good to know

  • A component can't contain itself.
  • Deleting a component removes it from every page that uses it. Check Used on first.
  • With Polylang or WPML, each language has its own copy of a component, so texts can be translated.

More in Components and popups

Still need help?

Tell us what you are trying to do and what you see. We read every message.