evenito offers you a wide selection of widgets with which you can set up your website. However, would you like to add content with the help of a custom code? In the following article, we show you how this can be set up.
Important Note:
This widget can only be used by users with the role "Administrator"! If the widget is stored in the website structure, it can also be edited by users with the "Event Manager" role.
After activating this widget, you are completely free to place any content on your website using a custom script. However, it is important to note that your custom code interacts with the existing website code and may even overwrite it. Since evenito can no longer influence the behaviour when using a custom script, evenito does not offer any support for this website.
To insert the widget "Custom content" into your structure, drag and drop it from the left column into the column to the right. Then move the cursor over this newly inserted widget and click on the edit pencil.
The following settings can now be stored:
- If you activate the checkbox "Override background theme", you can individually adapt the background colour defined by default in the website settings for this widget. The best way to do this is to define the colour of the widget using the HEX code. The HEX code is not available to you? Then click in the field and enter the HSL values in the pop-up window.
- If you do not activate the "Overwrite background theme" check box, you have the option of selecting the "Contrast Theme" check box instead. The widget now adopts the colour value defined in the website settings by default.
- Full width: Set whether the widget takes up the entire width of the website or whether it adapts to the content. We show you how to define the content width in this article.
- The Heading defines the name of this widget and thus the title that the participants see above this section. You can name the heading as you wish.
- In the Embedding code field, you can store your corresponding custom code as an iFrame or JavaScript.
Save your adjustments by clicking the "Close" button.
Please note:
Custom content is not displayed in the preview.
Publish the website to view the content.