how to regain screenspace once populated by now suppressed items?

Dolfi

Banned
Hi,

AG is great in suppressing unwanted content (not only ads, also recommendations etc).
But AG 'only' suppresses the items, the screen space is blank (great for not having to load and not accidentially clicking).

How can I regain that space, use it for display of content?


(stupid) Example: http://en.wikipedia.org/wiki/Haflinger
user filter "en.wikipedia.org###mw-panel" hides the whole left column (menu), but the screen space is blank/wasted.
How can I move all content to the left using that space too?


Thank you.

---------- Post added at 04:55 PM ---------- Previous post was at 04:48 PM ----------

better example:
http://9gag.com/gag/amLm9vX , filter "9gag.com###sidebar-content"
 

avatar

Administrator
Staff member
Administrator
It's impossible to do with just element hiding rules.
If you're good with CSS you can use CSS-injection rules: http://adguard.com/en/filterrules.html#cssInjection

For instance, set of rules for 9gag.com:
Code:
9gag.com###sidebar-content
9gag.com#$#.page.post-page { width: 940px!important; }
9gag.com#$#.page.post-page .main-wrap { width: 940px!important; }
9gag.com#$#article.post-page { width: 940px!important; }
9gag.com#$#.fixed-wrap-post-bar { width: 940px!important; }
9gag.com#$#article.post-page .post-container img { width: 940px!important; }
9gag.com#$#.post-afterbar-a.in-post-top { width: 940px!important; }
 
Top