Skip to main content

Editing Static Content

By accessing Ector Configurator, you can easily modify the JSON values of the properties you want to update.

Example: Editing the Topbar

Suppose you want to change the current Topbar, altering its color and text. To do this, open the topBar property within the All Controller and modify the values.

Step 1: Open the topBar Property

Access Ector Configurator and find the topBar property configuration in the All Controller.

Step 2: Modify the Values

Update the JSON configuration values as follows:

{
"All": {
"topBar": {
"text": "Free shipping on orders over €50",
"bgColor": "#000000",
"textColor": "#ff0000",
"link": "{{base}}"
}
}
}

Implementation Details

  • text: Modify the text displayed in the Topbar.
  • bgColor: Change the background color of the Topbar.
  • textColor: Change the text color of the Topbar.
  • link: Use the {{base}} keyword to automatically insert the site's base URL.

Applying the Changes

Once the updated configuration is saved, the Topbar in the front office will immediately reflect the new settings.