Menu

Rebuilding an Elementor site in Astro (what I keep and what I throw away)
📰

Rebuilding an Elementor site in Astro (what I keep and what I throw away)

DEV Community: astro·Linc·3 days ago
#JIeiAo56
#devtoastro#devto#dev#elementor#client
Long article (821 words) — no AI summary yet.
Reading 0:00
15s threshold

Half the WordPress sites I get asked to move are built in Elementor. The client wants "the same site, just faster". The problem is there is no clean export. Open the page HTML and every heading sits inside four nested divs with classes like elementor-element-3f9a1c2 . You can't convert that into anything you'd want to maintain.

So I don't convert it. I rebuild it. But I rebuild it in a very specific order so it doesn't turn into a three week redesign nobody asked for.

1. Screenshot everything before you touch it

First job is a full page screenshot of every page at desktop and mobile width. My coding agent does this with Playwright from the sitemap:

npx playwright screenshot --full-page --viewport-size=1440,900 https://client.com/about shots/about-desktop.png npx playwright screenshot --full-page --viewport-size=390,844 https://client.com/about shots/about-mobile.png

Enter fullscreen mode

Exit fullscreen mode

These screenshots are the spec.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.