r/webdev • • Apr 26 '17
Reddit removing sub CSS
Reddit is going to remove CSS for custom sub styles, (https://www.reddit.com/r/modnews/comments/66q4is/the_web_redesign_css_and_mod_tools/)
They want to implement a alternative system for it, but i think this is very controversial in general and especially as webdev. I would like to hear some opinions from other devs on this.
Some reasons they bring up sound fundamental wrong to me, for example saying that CSS is:
- "It’s web-only."
- "it’s difficult to learn"
- "it’s error-prone"
- "CSS causes us to move slow."
For their reason why they want to change it, they mainly say that their mobile users (>50%) are not able to see the custom CSS.
128
Upvotes
11
u/Jdonavan Apr 26 '17
Can't happen soon enough. I've yet to find a sub where I liked their customization over the standard.
6
u/thrilldigger Apr 26 '17
Much of what they're saying makes a lot of sense to me.
I have to agree with this one. Most subreddits I've visited with significant styling changes break in some ways in various browser sizes and/or mobile. I browse in a tiny window while at work (~400x300) and half the time I visit a styled subreddit I won't be able to see half the comments, the comment box will be hidden off screen, etc.
I assume his meaning is that CSS is DOM-dependent: if they change the DOM, subreddit styling can break. They're loathe to break subreddit styles, so they have to be careful about what changes they make, and probably take a more iterative approach than they'd like - they don't really have the ability to do a full redesign like they're planning to do without breaking all customized subreddits.
If they instead provide the ability to style specific elements using a style configurator tool, they can change the DOM without breaking styling - basically, they'll have added a layer of abstraction that they control between the DOM and styling. When making DOM changes, they will just need to test that the abstraction layer continues to apply styling correctly instead of doing extensive CSS testing (and still inevitably breaking most subreddit styling).
That's maybe not a strong reason to implement an abstraction layer, but I'm sure it's a motivating factor.
I think the primary reason for the change is that they want to be able to alter or redesign their DOM without breaking subreddit styles, and this (identifying style-able elements, providing a set of supported styles and features, etc.) is the best solution they have that continues to provide subreddit styling without being DOM-dependent.
An alternative would be to version the DOM. After completing a redesign ("v2"), they would provide a transition time wherein subreddits can opt-in to v2 and update their stylesheets to match. After a time, they would retire v1 and all subreddits would be forced to v2. There are multiple problems with this solution: freehand CSS hiding elements that Reddit deems required or important (ads, site functionality), supporting two versions of the site, the aforementioned issues with CSS, etc.
tl;dr - as a user, I don't like that they're reducing flexibility and subreddit personalization. As a developer, this change makes a lot of sense.
192
u/PUSH_AX Apr 26 '17 edited Apr 26 '17
They want to add an alternative system for customisation, I'm sure it will evolve enough for people to individualize their subs.
Having CSS customisation is great but most subs just do a terrible job of the styling, also they remove core features of reddit like removing downvote functionality etc.
Perhaps a controversial opinion but I'm all for this change.
19
u/madcaesar Apr 26 '17
I always remove all sub styles, even the one here. They are all too jarring when browsing the site. Especially at work, some of the sub styles attract way too much attention.
You could legitimately be looking up info on reddit and the sub style makes it look like you're browsing some anime fan site.
59
u/remixrotation back-end Apr 26 '17
i'll do some stipulating:
ok. it will be interesting to watch and learn.
7
u/not-a-nomad Apr 26 '17
Hell finally it'll stop being like MySpace.
Hopefully they also change the default terrible UX. Seriously Reddit is one of the worst websites I use. I keep building tools to avoid using it directly.
23
u/ameoba Apr 26 '17
I think it's a brilliant idea.
In the beginning, it was an easy hack - a great way to give subs control over display with minimal work on their side. Unfortunately, it comes at the cost of site consistency & prevents them from making any major updates to the site. A list of supported customizations makes a lot more sense.
If you look at what some subs have done with their CSS, they're trying to put way too much functionality into it because they weren't given better tools. It's starting to look like the old MySpace in some places around here.
13
u/cd46 Apr 26 '17
Ok most subreddit themes are terrible anyways 😀 or make the"experience" bad
6
u/jewdai Apr 26 '17
I hate custom sub CSS as it creates an inconsistent experience and often they'll use it to disable downvoting. I disable it on desktop.
6
u/dubeg_ Apr 26 '17 edited Apr 26 '17
Not surprising when the mobile web version of Reddit loads like ass on Chrome for Android. Seriously why? If you "request the desktop site", it's instantly better but there isn't any media queries to make it fit better. Was this deemed too hard to do?
9
u/piyoucaneat full-stack Apr 26 '17
I do 99% of my Redditing through a mobile app anyway. The inconsistent style of different subs drives me nuts. If they had customization options to change things like colors and images but left the layout the same (I guess ban anything that could change the physical layout?), I might Reddit on a computer.
3
u/[deleted] Apr 26 '17
I also completely understand and support this decision. A lot of subreddit mods are railing against this and I think they don't understand the complexities being solved by taking away custom CSS.
I also think having a control panel for customization can be sufficient and expanded if necessary.
3
u/mclamb Apr 27 '17
I think that reddit is trying to protect their brand and allowing a free-for-all with CSS leaves users wondering what website they are on depending on the subreddit.
I personally keep subreddit CSS off, so when browsing while not logged in it's sometimes a shocker to see how custom some subreddits are. I do not see any added value in subreddit CSS, but then again I also prefer a solid desktop background color rather than an image, so my tastes might not be universal.
7
u/EnderMB Apr 26 '17
I think the simple reason why this is happening is because Reddit want to push their official app, and ensure that the experience on desktop matches their ideal version of the application.
The problem with this is that they released an app no one wanted, because the market is already full of high-quality Reddit apps, and no one has particularly cared or kicked up a fuss about the design.
I won't give it long before Reddit go the way of Twitter and try to bring their tooling in-house.
5
u/[deleted] Apr 26 '17
What is wrong for you? CSS is web only. The CSS that you see in mobile apps are rendered inside a webbrowser.
CSS is difficult to learn and error prone. Since reddit subpages don't really have access to HTML every class or HTML structure change would break a lot of subreddit CSS styles.
10
u/Mestyo Apr 26 '17
Having a separate mobile site has always struck me as an indicator of incompetence, but I think it makes sense to move subreddit specific logic to someplace else.
With the myriad of applications and shells that exist for Reddit, there really needs to be another way to filter, set rules and tailor a subreddit.
2
u/shkico Apr 26 '17
Great news, I have removed changing styles anyway.
2
u/stefantalpalaru Apr 26 '17
I don't understand the generic criticism of CSS. They are only getting rid of subreddit-specific CSS, not all CSS in general.
Who writes these announcements, the PR department?
2
u/zylixia Apr 26 '17
I always feel a little offended when websites don't support custom CSS. I still remember that switch from MySpace to Facebook taking me an awfully long time just because of those customization differences, and is still the #1 reason I barely use social media.
However, I would certainly be open to an alternative system, and here are a couple reasons why I understand their desire to remove CSS:
That being said, though, I do disagree with the reasons they gave, so I'll take a moment to rant about those.
2
u/maremp Apr 26 '17
To be honest, I never liked the custom styles, a lot of them are terrible. It's annoying that each sub has different colors, for example when browsing in a dark room, I would adjust my brightness to the white home page, then open a black page and I don't see anything anymore. The disable custom styles was my primary reason to install RES.
2
u/ziplex Apr 27 '17
As a mobile user I am really not pleased about the prospect of sub themes coming to mobile. That's one of the nice things about mobile is the shit always looks the same. Do not want.
3
u/Disgruntled__Goat Apr 26 '17 edited Apr 26 '17
You're right, their reasoning is completely flawed. The #1 reason writing custom CSS for subreddits is a pain is because reddit's HTML is atrocious. Trying to hook into that abomination is an awful experience.
Also I'm sick of sites pushing their useless apps. There is no advantage to having an app, and many advantages to having a mobile-friendly site (one of the main ones for me being that I can open multiple tabs).
2
u/rickdg Apr 26 '17
All aboard the monetization train, tchooo tchooo...
2
u/[deleted] Apr 26 '17
rip /r/Ooer
1
u/Mr-Yellow Apr 26 '17
Take a look at MySpace.
Custom CSS created by amateurs really has the potential to destroy usability.
Apart from customising colour/size variables or something... User-defined CSS overloaded in the browser is probably the better route for customisation.
One of the best features of RED that I've discovered is the button to turn off sub CSS.
1
u/Areanndee Apr 26 '17
There are some legit reasons stated for this change but I suspect it's really to make sure everyone sees the ads. Hope in wrong, tho.
1
u/ildaniel8 Apr 26 '17
Well I agree with the points they are making, i dont think i've ever seen a useful modification with these cusom styles.
1
u/basediga Apr 26 '17
i always disable subreddit styles and use i.reddit.com on mobile. Am I alone?
1
u/[deleted] Apr 29 '17
No, anyone against this is wrong. Reddit has a major flaw with the inconsistency in it's UI. Some subs look modern, some look they were created in 1999. I honestly don't want to rely on third party extensions for night mode and then figure out which subs have mods competent enough to implement night mode for res. Then I switch to mobile and none of the cool features in the desktop versions make their way to mobile, I am shown an empty canvas on mobile, no flavor.
Reddit has to implement a new UI that will be welcoming for new users, users who are used to state of the art UIs from facebook, instagram, snapchat, etc. Reddit looks like a cheap website in it's current form. This UI also has to be consistent with it's mobile counterpart. I love my apicem theme on my subreddit, but it is for the greater good that it goes.
They must implement a menu for mods of all levels of technical competence to make changes to their subreddit's look and feel, in it's current form, most mods don't even know what CSS is. With time, I am sure they will introduce some more customization options, but it is necessary they get rid of CSS.
1
u/stilloriginal Apr 26 '17
check out r/heat that sub's css is the bomb
1
u/MrSavager Apr 26 '17
couldn't disagree with this more. So they're going to add a wysiwyg editor or options to change colors and that's it. stifling the creativity of each subreddit? pathetic.
"it's web only" native apps suck "CSS is hard" lol, uhmm no..
1
u/jessek Apr 26 '17
good.
1
u/stgeorge78 Apr 26 '17
I guarantee it's because the ad buyers are saying they want full control over how their full page ads, site takeover ads and intrusive videos/audio ads will play on the site.
0
u/[deleted] Apr 26 '17
[deleted] — view deleted comment
0
u/[deleted] Apr 26 '17
[deleted] — view deleted comment