Skip to content

Commit 47e5d74

Browse files
Copilotdanielpaul
andcommitted
Enhance Webflow guide with image placeholders and improved formatting
Co-authored-by: danielpaul <333233+danielpaul@users.noreply.github.com>
1 parent c87f4e1 commit 47e5d74

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

docs/installation/webflow.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ icon: "browsers"
99
In your Webflow dashboard, navigate to your project settings:
1010

1111
1. Go to **Project Settings** > **Custom Code**
12+
<img src="/images/webflow/webflow-project-settings.png" alt="Webflow Project Settings navigation" />
13+
1214
2. In the **Head Code** section, add your CookieChimp script:
15+
<img src="/images/webflow/webflow-custom-code-head.png" alt="Webflow Custom Code Head section" />
1316

1417
<Info>
1518
The CookieChimp script needs to be added in the Head Code section so that it loads first, before other scripts. This ensures other scripts only run based on user consent.
@@ -29,6 +32,7 @@ icon: "browsers"
2932

3033
1. In the **Webflow Designer**, add a **Div Block** where you want the privacy trigger to appear
3134
2. Set the Div Block's **ID** to `cookiechimp-container` in the Element Settings panel
35+
<img src="/images/webflow/webflow-element-id-setting.png" alt="Setting element ID in Webflow Designer" />
3236
3. This div will host the floating privacy icon, allowing users to update their preferences
3337

3438
<Note>
@@ -43,6 +47,7 @@ icon: "browsers"
4347
2. In the Element Settings panel, add a **Custom Attribute**:
4448
- **Name**: `data-cc`
4549
- **Value**: `show-preferencesModal`
50+
<img src="/images/webflow/webflow-custom-attribute.png" alt="Adding custom attributes in Webflow" />
4651

4752
This allows users to manage their cookie preferences through your custom UI elements.
4853

images/webflow/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Webflow Installation Guide Images
2+
3+
This directory should contain screenshots for the Webflow installation guide.
4+
5+
## Required Images:
6+
7+
1. **webflow-project-settings.png**
8+
- Screenshot of Webflow dashboard showing Project Settings navigation
9+
- Should highlight the path: Project Settings > Custom Code
10+
11+
2. **webflow-custom-code-head.png**
12+
- Screenshot of the Custom Code section in Webflow
13+
- Should show the Head Code textarea where the CookieChimp script should be added
14+
- Highlight the Head Code section specifically
15+
16+
3. **webflow-element-id-setting.png**
17+
- Screenshot of Webflow Designer showing how to set an element's ID
18+
- Should demonstrate setting ID to "cookiechimp-container"
19+
- Show the Element Settings panel
20+
21+
4. **webflow-custom-attribute.png**
22+
- Screenshot showing how to add custom attributes to elements
23+
- Should demonstrate adding data-cc="show-preferencesModal" attribute
24+
- Show the Element Settings panel with custom attributes section
25+
26+
5. **webflow-publish-button.png**
27+
- Screenshot of the Webflow Designer showing the Publish button
28+
- Should highlight the publish workflow
29+
30+
## Image Guidelines:
31+
32+
- Use PNG format for clear screenshots
33+
- Ensure high resolution (at least 1200px wide)
34+
- Add red arrows or highlighting to point to relevant UI elements
35+
- Keep screenshots up-to-date with current Webflow UI
36+
- Include alt text descriptions when adding to the MDX file
37+
38+
## Adding Images to the Guide:
39+
40+
Once screenshots are available, update the webflow.mdx file to include them:
41+
42+
```mdx
43+
<img src="/images/webflow/webflow-project-settings.png" alt="Webflow Project Settings navigation" />
44+
```

0 commit comments

Comments
 (0)