Add custom HTML and code to your site
Add custom HTML or CSS to individual pages or your entire Fourthwall site
You can add custom HTML or CSS code to your Fourthwall site to personalize it even further. For example, you might embed a Spotify player, a Twitter/X feed, or a Google Maps location.
There are two ways to add custom code:
- To a specific page on your site
- To your entire site
Add custom HTML or CSS to a specific page
-
From your Fourthwall dashboard, go to Site design > Layout.
-
Choose a page from the drop-down menu (for example: Home, Product pages, or Custom pages).

- Scroll down and click Add page section.

- Select Custom HTML to open the editor.

- Enter your HTML code in the editor (and optionally choose to make this section full-width).

-
To style the section, check Add custom CSS code and enter your CSS.
-
After adding the custom HTML section, drag and drop it to place it above or below other sections on the page.
Add custom code to your entire site
- In Site design > Style, scroll down and click Edit HTML code.

- In the editor, you can:
- Enable header or footer code
- Add custom CSS that applies to your whole site

Caution: Only add custom code from trusted sources. Untrusted code may open you to security risks.
Cookie policy compliance
If your custom code uses cookies, note that Fourthwall’s cookie policy banner does not apply to it. To stay compliant:
- Update your custom code to respect the visitor’s consent (stored in the 'cc_cookie'), or
- Remove the code and instead use Fourthwall’s built-in Apps or the Analytics section.
Learn more in our cookie policy help article.