A Figma to WordPress build turns a static design into a working, editable website. The developer reads the design's colours, fonts, spacing and components, recreates them as reusable styles and templates in WordPress, builds each page, and then checks every screen size against the design. Done properly, the site matches the design closely and your team can still edit it without breaking anything.
"Pixel-perfect" is the phrase everyone uses, and it needs a little honesty. A Figma frame is one fixed width. A real website has to work on every screen from a small phone to a wide monitor, with real text that changes length. So the goal is not a screenshot match at every width. The goal is that at the widths the designer drew, the site matches, and everywhere in between it behaves the way the designer would have wanted.
Below is how I handle these builds, what you should prepare, and how to choose between Elementor and a block theme.
What a good Figma file looks like
The build is only as clean as the design file. Files that make the job fast and accurate have:
- Desktop and mobile frames for every page, and ideally tablet for complex layouts.
- Colour and text styles defined in Figma, not one-off hex codes and font sizes on each layer.
- Components for repeated parts: buttons, cards, headers, footers, form fields.
- Auto layout used for spacing, so gaps and padding are consistent and easy to read.
- Real or realistic content, including long headings and short ones, so I can see how the design handles both.
- Hover and active states for buttons, links and menus.
- Exported assets, or at least images and icons marked as exportable, in SVG for icons and logos.
If a file is missing some of these, it is still buildable. I fill the gaps with sensible choices and flag them. But each missing piece is a decision someone has to make, and it is better made by the designer.
Step 1: Turn the design into a system
Before I build a single page, I extract the design system. This is the step that separates a maintainable site from a fragile one.
From the Figma file I list:
| Design token | Example | Where it goes in WordPress |
|---|---|---|
| Colours | Primary, secondary, text, background, borders | Global colours (Elementor) or theme.json palette |
| Typography | H1 to H6, body, small, button text | Global fonts or theme.json typography |
| Spacing | 8, 16, 24, 32, 48, 64, 96 | Container padding presets, spacing scale |
| Radius and shadows | Card radius, button radius | Global styles or block styles |
| Breakpoints | Mobile, tablet, desktop widths | Builder breakpoints or CSS |
| Components | Button, card, testimonial | Saved templates, patterns or global widgets |
Every page then uses these shared styles instead of hand-set values. If the brand colour changes next year, you change it once and the whole site updates. On sites that skip this, I find hundreds of hard-coded colours and font sizes, and a small brand change becomes a long job.
Step 2: Choose how to build
There are two main routes for most business sites, plus a custom theme for special cases.
Elementor
Elementor's flexbox containers map closely to Figma's auto layout, which makes it a natural fit. Global colours and global fonts match Figma styles. Your team gets a visual editor they can use without touching code.
The risk is bloat. Elementor sites can get heavy if every section is nested five containers deep. I build with as few containers as the layout needs and style through Elementor's own controls and global settings, so the client can see and change everything from the editor. My notes on Elementor speed optimization apply from day one.
Block theme with the site editor
A block theme uses WordPress's own editor. The design tokens go into theme.json, and layouts become block patterns and templates. The result is usually lighter and faster than a page builder, with no builder plugin to update.
A small piece of theme.json looks like this:
{
"version": 3,
"settings": {
"color": {
"palette": [
{ "slug": "primary", "color": "#1F4D3A", "name": "Primary" },
{ "slug": "accent", "color": "#E3B04B", "name": "Accent" },
{ "slug": "text", "color": "#1A1A1A", "name": "Text" }
]
},
"typography": {
"fontSizes": [
{ "slug": "body", "size": "1.0625rem", "name": "Body" },
{ "slug": "h2", "size": "clamp(1.75rem, 3vw, 2.5rem)", "name": "Heading 2" }
]
}
}
}The clamp() value lets a heading scale smoothly between mobile and desktop sizes, which is one of the tricks that makes in-between widths look intentional. The theme.json reference in the WordPress developer docs lists every setting.
Custom theme
For sites with unusual layouts, complex data or strict performance targets, a custom theme with custom blocks gives the most control. It costs more to build and needs a developer for structural changes later.
Which is right depends on who edits the site and how often. If your marketing team changes landing pages every week, Elementor is often the practical answer. If pages change rarely and speed matters most, a block theme wins.
Step 3: Build components, then pages
I build the header, footer and every repeated component first, as global templates or patterns. Then I assemble pages from those parts. Building page by page from scratch leads to five slightly different versions of the same card.
During this stage I check against the design constantly. Overlaying a Figma export on the built page at the same width catches spacing and alignment differences quickly. Most differences come from three places: line height, letter spacing and image cropping.
Step 4: Make it responsive properly
This is where "pixel-perfect" meets reality. Things I check at every breakpoint, not just the drawn ones:
- Text never overflows or becomes unreadably small.
- Long words and long headings wrap cleanly.
- Images crop sensibly, with the subject still visible.
- Buttons stay large enough to tap, roughly 44 pixels high or more.
- Menus switch to a mobile menu at a sensible width.
- Grids reflow from four columns to two to one without awkward orphans.
When the design has no frame for a width, I follow the design's logic. If the designer stacked cards on mobile and showed three on desktop, two on tablet is usually what they would choose.
Step 5: Real content, forms and the hidden pages
Designs rarely include the boring pages: 404, search results, blog archive, privacy policy, thank-you pages. I style these with the same system so they do not look like a different site.
Then I connect forms, set up spam protection, add SEO titles and descriptions, and test with real content. A design that looked perfect with a three-word heading can break with a twelve-word one.
Step 6: Speed and accessibility checks
A beautiful build that loads slowly fails the business. Before handover I check:
- Images are compressed and sized for their slot.
- Fonts are limited to the weights actually used.
- Core Web Vitals pass on mobile in lab tests.
- Colour contrast meets accessibility guidelines.
- Every image has alt text and every form field has a label.
- The site can be used with a keyboard.
The short version
A good Figma to WordPress build starts by turning the design into a system of global colours, fonts, spacing and components. Then it builds templates before pages, checks every width rather than only the drawn ones, and finishes with speed and accessibility checks. Elementor suits teams who edit often; block themes suit sites where speed comes first.
If you have a Figma file ready to build, I take these projects through my WordPress development service. You can see examples in my work, or send the file over through the contact page.