#billn't

1 messages · Page 1 of 1 (latest)

glacial lily
#

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;
}```
stoic pecan
#

snippets like this are inherently broken because depending on what platform you use there will be a different amount of elements

glacial lily
#

oh fr?

stoic pecan
#

also you can change where vencord's category is, for example i have it at the top

stoic pecan
#
/* 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

glacial lily
#

Yeah my one has the same issue, since it's also using nth

stoic pecan
#

idk if there's a better way to write the + div + div + div + div + div

timber drum
#

ah I personally don't have a lot of CSS knowledge and kinda just went with I got from ublock

stoic pecan
#

lmao

timber drum
#

also for some reason the vencord buttons don't fit on one line here

stoic pecan
#

thats ur theme

#

likely

timber drum
#

font

#

surprisingly enough

stoic pecan
#

the buttons

glacial lily
timber drum
#

ikr

zenith vortex
# stoic pecan havent tested yours, im talking about original

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;
}```
stoic pecan
zenith vortex
#

ohh ty ill have a look

mint bison
#

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

zenith vortex
# mint bison So hum I'm not a developer I'm just lurking and trying what everyone posts (also...

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

mint bison
#

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_]),