Case Study: A Weird Elementor Spacing Bug, a Cloudflare Cache and a Full Site Review

A business owner's Elementor Pro pages showed strange spacing that would not go away. The fix turned out to be a cache layer nobody had cleared. That led to a full site review, speed improvements and an honest conversation about what website maintenance should really include.

Spacing Bug, Cache and Site Review

Table of Contents

Case Studies · real client work

In March 2024 a business owner sent me a short screen recording. Their Elementor Pro website had a spacing issue that made no sense: sections had gaps they had not added, and the layout looked different from what they saw in the editor. A second video showed the problem on more pages. In their words, it was weird. What followed was a lesson in how many layers of caching a modern website can have, a client who found the final fix himself, a full site review and a frank discussion about what real maintenance should include. This case study shares the whole story.

Project snapshot
  • Client: a US business owner with an Elementor Pro website
  • Platform: WordPress, Elementor Pro, WP Rocket, Cloudflare, managed hosting
  • Work: diagnosing a spacing bug across caching layers, a full site review report, speed and performance improvements
  • Timeline: March to May 2024, two orders
  • Result: the layout bug solved, a faster site and a repeat client who called me damn good

The bug: spacing that would not behave

The owner’s videos showed pages where spacing looked wrong on the live site even though the Elementor editor looked fine. When the editor and the live site disagree, the problem is rarely Elementor’s settings. It is usually something between the editor and the visitor: cached CSS files, a minification tool that combined styles in the wrong order or a CDN serving old files.

I reviewed the pages straight away and offered a call. Because the owner was busy and I had another meeting, we arranged a time later in the evening, and when my meeting was postponed I let him know I was available earlier.

Following the caching trail

Modern WordPress sites can have several separate caches, each holding its own copy of your pages and styles:

  • Elementor’s own CSS files, generated for each page and stored on the server.
  • A caching plugin, in this case WP Rocket, which stores full pages and minified files.
  • Server-level caching from the hosting company.
  • A CDN, in this case Cloudflare, which stores copies of files on servers around the world.

If any one of them holds an old version of the CSS, the live site shows old spacing even after you fix it in the editor. I recommended regenerating Elementor’s CSS, clearing the caching plugin and asking the host whether server-side caching was enabled. I also shared Elementor’s own guidance on this type of problem and suggested taking a backup before trying the steps. The owner preferred to check with the hosting provider first, which was a careful choice.

We also reached out to Elementor support, who asked for the email address used to buy the licence, so I passed that request along.

The client finds the fix

Then a message arrived full of exclamation marks: the owner had figured it out. They went into Cloudflare and purged the cache, and everything worked perfectly. Clearing WP Rocket that morning had made them think about the other cache, and that was the last layer nobody had cleared.

I was genuinely pleased. A client solving the final step themselves is a good outcome, because they now understand how their site works and will recognise the problem if it happens again. I confirmed that the server-side CDN cache was the missing piece and that no further headache should follow. The owner even sent a screenshot of the exact Cloudflare setting for reference.

“Very patient with a deep understand of WordPress Elementor Pro. Competent, polite and very capable.”

Business owner, April 2024

The site review

The owner then asked whether I would review the whole site and suggest improvements. They asked whether I could cover both on-site and off-site aspects. I suggested starting with one review, and if it proved useful, continuing with the other.

The next day I had a review ready and offered to walk through it on a call. It covered speed, PageSpeed Insights results, caching configuration, images, plugins, security basics and design consistency, with practical recommendations in order of impact. After seeing it, the owner asked for an offer to implement the improvements. The site ended up noticeably faster, which the owner later pointed out themselves.

An honest talk about maintenance

Impressed by the speed improvements, the owner asked what I would charge to keep the site in good working order every month, including speed, and whether I could beat the price of their current contractor. I explained what my maintenance includes: daily backups, weekly security checks, speed checks and PageSpeed monitoring, done manually with real verification rather than automated reports. That takes several hours a week, and my price reflected that.

It was more than they were paying, and they decided to stay with their existing contractor, which is completely fair. I did explain one thing honestly: some maintenance services send automated reports without anyone actually checking the site. That is cheaper, but it is not the same service. The right choice depends on how important the website is to the business.

Coming back anyway

In May the owner came back for more work, and their second review said it all: repeat vendor because he’s damn good. Even without a monthly contract, a client who trusts you will return whenever something important needs doing. That is a perfectly healthy way to work together.

How to fix layout bugs that only appear on the live site

  • Regenerate Elementor CSS. Elementor’s tools let you regenerate files and data.
  • Clear your caching plugin. Including minified and combined files.
  • Clear server cache. Many hosts have their own caching layer.
  • Purge your CDN. Cloudflare and similar services keep their own copies.
  • Test in a private window. So your browser’s own cache is not fooling you.
  • Exclude Elementor files from aggressive minification if problems keep returning.

What a good site review covers

  • Real-world speed and Core Web Vitals.
  • Caching and CDN configuration.
  • Image sizes and formats.
  • Plugins: outdated, duplicate or unnecessary.
  • Security basics and backups.
  • Mobile layout and design consistency.
  • A prioritised list of fixes, not just a score.

Seeing strange layout problems on your site?

If your live site does not match the editor, or you want an honest review of your website’s speed and health, I can find the cause, fix it and explain it so you understand your own site better.

Why caching causes so much confusion

Caching exists to make websites fast. Instead of building every page from scratch for every visitor, a cache keeps a ready-made copy and serves it instantly. The trouble is that each layer of caching keeps its own copy, and none of them automatically knows when you have changed something in Elementor. Your caching plugin might clear itself when you update a page, but the CDN in front of it may still serve yesterday’s version from a server on another continent. The hosting company’s cache may sit between them with its own rules. And your browser keeps copies too.

That is why a change can appear for one person and not another, or appear on one page but not another, or look correct in the editor and wrong on the live site. It feels random, but it is completely logical once you know how many copies exist. The practical rule is simple: after design changes, clear caches from the inside out. Start with Elementor’s CSS, then the caching plugin, then the server cache and finally the CDN. Then check the page in a private browser window.

Setting up caching so this happens less often

Some configuration choices reduce these problems. Let the caching plugin and the CDN talk to each other, since many caching plugins have an integration that purges the CDN automatically when a page is updated. Avoid combining all CSS files into one, which can change the order styles load and break layouts. Use Elementor’s external file setting for CSS so files update cleanly. Set sensible cache lifetimes for HTML pages, shorter than for images, so content updates appear quickly while heavy files still benefit from long caching. And if you use several performance tools, make sure only one of them minifies files, because two tools optimising the same files is a common source of mysterious bugs.

A note on working with careful clients

When I suggested trying the cache fixes, the owner said they did not want to mess anything up and preferred to check with their host first. I respect that. A cautious owner protects their business, and a good developer should welcome it. Suggesting a backup before any change, explaining what each step does and letting the owner decide the pace builds trust, even when it takes a little longer.

In the end, that patience paid off: the owner learned exactly where each cache lives, and the next time a change does not appear, they will know which button to press.

Work with meWordPress, WooCommerce and Elementor expert help

Layout bugs, caching problems, speed improvements and honest site reviews with prioritised fixes.

View the Fiverr gig →

Want a review of your site? Send me a short brief with your website address.

Frequently asked questions

Why does my live site look different from the Elementor editor?

Usually a cache is serving old CSS. Regenerate Elementor CSS and clear the plugin, server and CDN caches.

How do I purge the Cloudflare cache?

In your Cloudflare dashboard, open Caching, then Configuration, and choose Purge Everything.

How many caches can a WordPress site have?

Often several: Elementor CSS files, a caching plugin, server caching, a CDN and the browser.

What should website maintenance include?

Backups, updates, security checks, speed monitoring and real verification that the site works, not just automated reports.

Free toolTry the Website Cost Calculator

Free, no sign-up, works on any device.

Open the free tool →
Written by Tanvir H

WordPress and Elementor web designer at Tanvir WebXprt, Bangladesh, with 7+ years of experience and 650+ projects. Tanvir builds the free tools on this site and writes practical guides for creators, learners and small businesses.

Learn more

Guides for this tool

Built by Tanvir WebXprt

Want a tool, website or app like this for your business?

Every free tool on this site is designed and coded by Tanvir H, a Bangladesh-based WordPress and Elementor web designer with 7+ years of experience and 650+ projects for clients worldwide. Fast, mobile-first, search-optimised websites that turn visitors into customers.

Website developmentWordPress, Elementor & e-commerce sitesfrom $899
Creative designWeb, graphic & brand identityfrom $220
SEO & paid adsRank on Google, run Meta & Google Adsfrom $300
Speed & fixesCore Web Vitals, bugs and upgradesCustom quote
  • 650+ projects
  • 7+ years
  • 4.9★ rating
  • Govt. registered freelancer

Contents

Was this helpful? Spread the word and share with your network!
Facebook
Pinterest
LinkedIn
Reddit
VK
X
Telegram
Threads
Tumblr
Email
WhatsApp
Pocket

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Article