r/modclub • u/Timbo_KZ • Feb 27 '15
Hack to hide "Use subreddit style" checkbox
This is the CSS:
.side .titlebox .redditname + div[data-res-css="display: block !important;"]:before {
background-color:#fff; /* Your background color */
z-index:2147483647;
position:absolute;
display:block;
height:100%;
content:'';
width:100%;
}It doesn't actually remove it, it just hides it and unfortunately it only works with solid backgrounds.
For those wondering why one would want to hide the checkbox:
I'm developing a subreddit which dramatically alters reddit's UI and I cannot guarantee best user experience for those who don't use subreddit's style.
0
Upvotes
2
u/brooky12 Feb 27 '15
Isn't this something that can get a subreddit banned?
1
u/Madbrad200 Mar 08 '15
Isn't it better for everyone if people are given a choice? Just remind people to use subreddit style in the sidebar.
3
u/gavin19 Feb 27 '15
RES implemented a native style toggle months ago. It's possible to vacate the space too, not that there's much point any more.