#billn't
1 messages · Page 1 of 1 (latest)
slight rewrite:
- more concise
- doesn't affect server settings panel
- removes items from right-click settings shortcut
.layer-86YKbF > .standardSidebarView-E9Pc3j .side-1lrxIh > div:nth-of-type(n+9):nth-of-type(-n+15),
#user-settings-cog > .scroller-nxCRu_ > .item-5ApiZt:nth-of-type(n+8):nth-of-type(-n+14) {
display: none;
}```
snippets like this are inherently broken because depending on what platform you use there will be a different amount of elements
oh fr?
also you can change where vencord's category is, for example i have it at the top
havent tested yours, im talking about original
/* Hides the Billing Settings stuff from discord settings */
div :has(+ .premiumTab-39eQzY),
.premiumTab-39eQzY,
.premiumTab-39eQzY + div,
.premiumTab-39eQzY + div + div,
.premiumTab-39eQzY + div + div + div,
.premiumTab-39eQzY + div + div + div + div,
.premiumTab-39eQzY + div + div + div + div + div {
display: none;
}
here's one that will always work regardless of how many elements you have previously
this is what yours does for me, i have the vencord section above nitro @timber drum
Yeah my one has the same issue, since it's also using nth
idk if there's a better way to write the + div + div + div + div + div
ah I personally don't have a lot of CSS knowledge and kinda just went with I got from ublock
lmao
I can't think of a less-worse way to write it with :has() therefore I will assume there is no solution lol
ikr
updated:
div :has(+ .premiumTab__57bdc),
.premiumTab__57bdc,
.premiumTab__57bdc + div,
.premiumTab__57bdc + div + div,
.premiumTab__57bdc + div + div + div,
.premiumTab__57bdc + div + div + div + div,
.premiumTab__57bdc + div + div + div + div + div {
display: none;
}```
you can now do it a lot better with https://vencord.dev/plugins/ThemeAttributes
ohh ty ill have a look
So hum I'm not a developer I'm just lurking and trying what everyone posts (also using Vencord only since this day, BD was too slow)
But I can't seem to hide the billing settings, though no options are under the section
What used to hide it before hides all of vencord options as well, not Ideal
Idk if my theme is messing with it
once again, use this
this is what i ended up using
/* payment settings header */
[class^=header_]:has(+ [class^=premiumTab_]),
/* nitro settings tab */
[class^=premiumTab_],
/* subscriptions settings tab */
[class^=item_][data-tab-id="Subscriptions"],
/* gift inventory settings tab */
[class^=item_][data-tab-id="Library Inventory"],
/* billing settings tab */
[class^=item_][data-tab-id="Billing"],
/* ^ following separator in settings */
[class^=item_][data-tab-id="Billing"] + [class^=separator_] {
display: none !important;
}
make sure u have the theme attributes plugin enabled
hum
It works ! TY
I only needed this one the rest is probably covered by my other 50 LINES of CSS (from which I understand close to nothing since I'm not into it) :
/* payment settings header */
[class^=header_]:has(+ [class^=premiumTab_]),