🪄 Create on the Global Root
👀 Reference on all pages and inside Slots
🪄 Create on the Global Root
👀 Reference on all pages and inside Slots
See our year placeholder's ID (i.e., 𝚢𝚎𝚊𝚛) in the script? Make sure they match.
And presto 🐇! No more manual year updates or zombie site vibes.
3/3
See our year placeholder's ID (i.e., 𝚢𝚎𝚊𝚛) in the script? Make sure they match.
And presto 🐇! No more manual year updates or zombie site vibes.
3/3
2. Wrap the year placeholder in a span.
3. Give the span an ID (e.g., 𝚢𝚎𝚊𝚛) so we can target it with a script... 👉
2/3
2. Wrap the year placeholder in a span.
3. Give the span an ID (e.g., 𝚢𝚎𝚊𝚛) so we can target it with a script... 👉
2/3
Bots to the rescue! 🤖
Let's make a dynamically updating year in @webstudio. 🧵👉
1/3
Bots to the rescue! 🤖
Let's make a dynamically updating year in @webstudio. 🧵👉
1/3
Been there, done that? 🕶️
Start with a light theme instead 🔆:
1. Add the Craft Style Guide
2. Copy the CSS variables for the light theme
3. Select the Global Root element
4. Paste the copied CSS variables
docs.webstudio.is/university/c...
Been there, done that? 🕶️
Start with a light theme instead 🔆:
1. Add the Craft Style Guide
2. Copy the CSS variables for the light theme
3. Select the Global Root element
4. Paste the copied CSS variables
docs.webstudio.is/university/c...
🚁 Hover to auto-scroll the value in the field
👆 Click to open a code editor dialog
🚁 Hover to auto-scroll the value in the field
👆 Click to open a code editor dialog