test 72

Layout Test · v7.2

v7.2 — Footer gap fix

This version strips margin from the direct parent, removes bottom-spacing from 5 levels of ancestors via chained :has(>), and sets the body background to cream so any remaining gap is invisible.

🔧 Direct parent margin stripped 🔧 Ancestor bottom-spacing stripped 🔧 Body bg = cream
Hero
Edge to edge — no white band
Stat Strip
Edge to edge
Footer
No gap above, no text overflow

What changed from v7.1

Three fixes targeting the gap between wiki content and the platform footer.

1️⃣

Direct parent: margin now stripped

v7.1 stripped padding but missed margin. If the CMS wrapper had margin-bottom (common in Next.js article layouts), that created the gap.

2️⃣

Ancestor bottom-spacing: chained :has(>) up 5 levels

Instead of the broad Part B that hit all ancestors (and broke the footer), v7.2 uses chained child combinators to walk exactly up the ancestor path. Strips padding-bottom, margin-bottom, and sets overflow:visible on each level. Footer is a sibling, never matched.

3️⃣

Body background = cream on wiki pages

body:has(.fi-wiki) now gets background: #FAFBFA. Even if a tiny gap remains from an unknown wrapper, it's the same color as the wiki content — invisible.


Scroll down and check the footer ↓

The platform footer should sit directly below this content with no visible gap, no white/gray band, and no text overflowing to the right. If you still see a gap, open Chrome DevTools console and paste the diagnostic script (dom-diagnostic.js) to dump the wrapper chain.

All three checks should pass

Hero edge-to-edge ✓ · No footer gap ✓ · No horizontal scroll ✓

Check Complete →

FarmLand India ("the Platform") operates solely as a digital marketplace for listing and advertising Plotted Land Development, agricultural and farmland properties across India. The Platform does not act as a real estate broker, agent, or intermediary under RERA or any applicable law. All listings, pricing, and related information are provided by third-party owners, agents, or advertisers. FarmLand India does not verify, guarantee, or endorse the accuracy, legality, or authenticity of any such content.

Users are advised to conduct independent due diligence, including verification of land records, legal clearances, and regulatory compliance, prior to entering into any transaction. The Platform shall not be liable for any loss, dispute, or damage arising from transactions conducted between parties. Use of this Platform constitutes acknowledgement that all property dealings are undertaken solely at the user's own risk and responsibility.