BBC: distraction-free focus mode
Hides everything except the article body and centers it, creating a calm, focused reading space.
Code to copy
/* Distraction-free focus mode: keep only the article body */
body > *:not(:has(article)),
aside,
[data-component="ad"],
[data-component="links-block"],
[data-component="mostRead"] {
display: none !important;
}
article { margin: 0 auto !important; max-width: 44rem !important; }
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.