Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BorisAnthony/1622502 to your computer and use it in GitHub Desktop.
Save BorisAnthony/1622502 to your computer and use it in GitHub Desktop.
CSS rules to hide "Discover", "Trending Topics" and "Who To Follow" on new new Twitter.
[data-component-term="trends"] *,
[data-component-term="user_recommendations"] *,
[data-global-action="discover"] *,
*[class*=promoted] {
display: none !important;
}
/*
Stop everything bouncing upon seeing modal windows under Lion when using a trackpad (non-persistent scrollbars)
Originally from https://gist.github.com/1502938
*/
.modal-enabled, .modal-enabled .global-nav-inner {margin-right: 0;}
@MoatazAbdAlmageed
Copy link

I just use

[aria-label="Timeline: Trending now"] {
    display: none !important;
}


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment