I don't know where the right place to ask this is, so please move it to somewhere you think is more appropriate.
I asked a while back for some custome CSS that hides pets from my feeding and reading lists one by one rather than only having one pet visible, and while it works fine for reading, it stopped hiding my pets from the feeding list after a while. Here's the code:
/** Pet Roles: NON Reader /
.card-body a[href$="petid=5978215"] + br,
.card-body a[href$="petid=5978215"] {
display: none;
}
.card-body a[href$="petid=6001633"] + br,
.card-body a[href$="petid=6001633"] {
display: none;
}
.card-body a[href$="petid=6009360"] + br,
.card-body a[href$="petid=6009360"] {
display: none;
}
.card-body a[href$="petid=6018494"] + br,
.card-body a[href$="petid=6018494"] {
display: none;
}
/ Pet Roles: NON Gourmand **/
.card-body a[href$="petid=5978215"] + br,
.card-body a[href$="petid=5978215"] {
display: none;
}
.card-body a[href$="petid=6001633"] + br,
.card-body a[href$="petid=6001633"] {
display: none;
}
.card-body a[href$="petid=6009360"] + br,
.card-body a[href$="petid=6009360"] {
display: none;
}
.card-body a[href$="petid=6018494"] + br,
.card-body a[href$="petid=6018494"] {
display: none;
}
The bottom two pets are not hidden from my feeding list, and I'm tired of having to constantly check them into the resort in order to hide them for 3 weeks at a time. Does anyone know what might be wrong with the code, because as far as I know, I don't see any errors, I just copy and past it and then add the ID whenever I add a new pet.
Probably would get answered in the profiles & graphic discussion which people use for coding help.
I can't see why it would miss the last two (there's no semicolons or anything like that missing in what you posted), unless there's some other customcss immediately after the last two, which is missing something maybe?
If it helps though, I use a variation of that coding which means I only have to add in the ID of my reader / gourmand pets, rather than adding in each one I want to exclude:
/** Pet Roles: NON Reader - add the ID of the reader**/
.card-body a:not([href$="petid=634149"]) + br,
.card-body a:not([href$="petid=634149"]) {
display: none;
}
/** Pet Roles: NON Gourmand - add the ID of the gourmand**/ .card-body a:not([href$="petid=647472"]) + br, .card-body a:not([href$="petid=647472"]) { display: none; }
...and it saves having to add to the coding if I get new pets too ;)

The thing is, every time I get a new pet, I read 250 books and feed 250 foods to them, which is why I don't want to use the code that excludes all pets, especially since I still want to read and feed to my main pet as well. Sorry if I didn't make that clear before.
ah that definitely would make sense to keep them in there!
I've just copied and pasted your code (changing the IDs to 4 of mine of course) and it works fine to stop all four showing in the feed list.... so I think it'd have to be whatever is on the next line or two, which is stopping it from working for you
