Hello!
Here you can request as well as give any sort of help and assistance on the topic of CSS lists. Before proceeding, make sure to check a bit of the posts and replies on this thread and see if anyone else has asked a question you might hold and was answered before. That way, this thread could also serve as a mini-FAQ that expands through time. Note that this spot is community-focused, meaning that every solution is found and reached via the help of the community.
If you would like to request help and assistance, being as specific as possible with the issue at hand is wanted. Note that the more detailed the question will be, the more likely the answer by the community will lead you to wanted results. If you would like to offer help and assistance, sharing valid information which you know about is advised, not trying to blindly guess the solutions to random issues. Also, when trying to assist, directly replying to the comment of the one in need of help is recommended so the user is notified about it.
Keep it clean; all Anilist Guidelines apply.
I know this has been asked and answered in 2 different posts already. But I still fail to understand how I can edit the order of my lists. :(
On the old ani list site this was the code that I used
#lists {display: flex;flex-direction: column;}
#Watching {order: 1;}
#Completed {order: 2;}
#CompletedOVA {order: 3;} /custom list 4/
#Completedmovies {order: 4;} /custom list 5/
#Fulfillingromance {order: 5;} /custom list 1/
#Animethatmademecry {order: 6;} /custom list 2/
#On-Hold {order: 7;}
#Dropped {order: 8;}
#Plantowatch-romance {order: 9;} /custom list 3/
#PlanToWatch {order: 10;}
If anybody could help me I would be grateful.
First off you can stop the hash mark from turning your line into a header by prepending a \ before the hash mark.
To answer your question, the old HTML for anime lists had specific IDs for custom lists so your fulfilling romance custom list had something like #Fulfillingromance as a CSS selector. In the current state, the only ID that your fulfilling romance custom list has is #completed which is shared by your completed, completed OVA, completed movies, and anime that made me cry lists.
Since we don't have any specific ID for each list the best you can really do to fix the issue for now is to use a unique selector. The drawback of this solution is that you don't have any guarantee that the order of the elements in #lists stays consistent.
As a side note I don't think it would be a particularly difficult fix by reimplementing the specific IDs for the custom lists and I've been meaning to ask Josh to see if he can do something about it. @Josh pls
Couple quick tips I guess to fix up some formatting irregularities.
/\ Centering your list on the page (if you don't want the default width) \/
\#view div.list\_wrapper {
float: none;
margin: 0 auto !important;
}
/\ Removing potential dead space at the bottom of your list \/
\#view:after { height: 0 !important; }
/\ Changing the Notes/Rewatch Icons to display a Pointer instead of a Selection Cursor \/
.tag\_notes:hover, .tag\_re:hover { cursor: pointer; }
/\ Allow line breaks in hints \/
.hint { white-space: pre-line; }Is there a way to have the header line up with the list/not extend out to the right like it does on any larger sized browser window?
http://anilist.co/animelist/chakku
I'm aiming for this

There are two ways that I can think of that will accomplish what you want, the results are slightly different based on which method you go with so the final solution is up to your preference.
The first method is rather simple, by default, the header is fixed so it always displays over top of your list, instead you can set the position to relative and you can specify a width relative to the header's parent container.
\#list\_header {
position:relative;
width: 100%;
}
The drawback with that solution is that the header is no longer fixed, so when you scroll down your list, your header will disappear.
The second solution is slightly more complex and involves media tags since the width of the list wrapper changes based on the width of the browser window. After a bit of investigating and playing around I'm fairly certain that the following CSS should provide equal width throughout all browser sizes.
@media (min-width: 1420px) { \#list\_header { width: calc(66.66666667% - 63px) !important; } } @media (max-width: 992px) { \#list\_header { width: calc(100% - 80px) !important; } } @media (max-width: 768px) { \#list\_header { width: calc(100% - 70px) !important; } } \#list\_header { width: calc(83.33333333% - 72px); }
Before the 2.0 update, I had it so that when you hovered over a specific anime or manga on my list, the
cover would show up. Maybe this is just a bit that isn't functioning yet, but I know very little CSS, and any
help is appreciated!
Oh thanks for reminding me, I've been meaning to look into covers since 2.0.
I'll look at this tonight and see what I can come up with :)
It's a bit tricky because we don't have really have any unused tags laying around like we did in the old AniList.
So you either have to get rid of one of the td tags (Title, Score, Progress Type) or what I decided on for me was to get rid of the note and rewatching icons. There might be a way to have it so you only need to sacrifice one of the two but I'm not sure how.
I looked at your list and saw that you use both the rewatched and the notes features so I don't think my solution would be suited for you but I'll leave it here anyways.
.rtitle {
background-repeat: no-repeat !important;
background-position: -9999px -9999px !important;
}
td {
background-image: inherit;
background-repeat: no-repeat !important;
background-position: -9999px -9999px !important;
}
.list\_\_tag {
background-image: inherit;
display: none !important;
left: 1080px;
top: 130px;
position: fixed;
font-size: 0px;
height: 260px;
width: 186px;
background-size: cover;
}
tr:hover > td > .list\_\_tag {
display: block !important;
}
I would like to have my list centered to the left of the screen. How do I do that?
Centered to the Left is kind confusing, but I would try this.
.list_wrapper { float: left; }
Alternatively, if you want it totally centered I think this undos all of the spacing issues?
#container-main { margin-left: 0; }
If you wanted it off center to the left then you could try adding this to that...
#lists { position: relative; left: -220px; }
or something.
(1) Is it possible for me to be able to display certain lists over header hover again?
This is the code I used before 2.0: Pastebin
*** note that the first 3 are Custom lists and the other 2 are Default lists
(2) Also, can I rearrange/reorder certain lists again?
Pre-2.0 code: Pastebin
(3) And how about list removal?
Pre-2.0 code example: #/PlanToWatch {display:none}
(but of course the " / " is not included in the code)
Please let me know if I need to be more specific ^^' But thank you very much in advance!! ^^
1) To have lists appear on mouse-over you'd want this.
\#lists > div table.list { display: none; }
\#lists > div:hover table.list { display: table; }
We're just looking at when the user hovers over the entire list entity (including the title).
If you want to only have this for some of them and not all you'd need to do...
\#lists > div:nth-of-type(3) table.list { display: table; }
(this restores the list, if you wanted to only have the hover feature on certain ones you could choose to display:none those select ones instead.
At the moment the IDs for custom lists aren't functional, so rather than being able to do #plantowatch as you used to, you'll need to get the number of the location of the individual list. ( #lists > div:nth-of-type(X) ).
Here's a picture describing what I mean. There are hidden lists on the page, so you'll need to double check that you have the right number. In the above example, 3 actually refers to your second list (Hyped Fall 2014). yeah...
http://i.imgur.com/t3zflpa.png
2) To reorder you lists you'll need to use the same kind of numbering scheme as above.
\#lists > div:nth-of-type(3) { order: 2; }
\#lists > div:nth-of-type(4) { order: 1; }
For some reason this puts them at the bottom. I'd wager a guess that the default order is 0. You'd probably have to number every list to get this to work properly. I've never worked with ordering, but I can have a look later.
3) To remove certain lists you'll need to use the same kind of numbering scheme as above.
\#lists > div:nth-of-type(3) { display: none; }
(we're targeting the entire list entity - including the header - in this case)
Hi!
First off, thanks for the thread, it's very useful. :D
On to my questions:
(1) I would like to modify the styling of the "Plan to Watch" header of my list. I tried targetting the h3s specifically at first, but for some reason that doesn't work. So instead I targetted each section's id and then its child h3, however, the id for "Plan to Watch" is id="plan to watch"; IIRC, this is invalid HTML (some hyphens between each word would solve this nicely; id="plan-to-watch") and only works if you're trying to define multiple classes (and not ids). Am I mistaken? Is there any way to modify this header without doing it this way?
(2) A minor issue, but it seems like I have a visual bug in the th of some of my sections.. the Progress of each item some sections is stretching the table further than it should (?). Just want to know if this is happening for other users, too.
Thanks in advance! :)
You seem to have resolved the first issue yourself.
As for the second I am assuming you mean in your custom lists.
Custom lists all contain the extra 'Status' column by default. You have removed the header for this row (th:nth-last-child(2)) but not the column in each row. To fix this use:
td.row__status.sml\_col.cap {
display: none;
}
or something to that effect.
Thanks for the quick reply!
Ah, I see! The bit about the 'Status' column makes sense, your CSS worked great, thank you.
Unfortunately, my 'Plan To Watch' header is still not displaying the color that I'd like it to have. Do you mean to say that I can modify an id's name through CSS?
EDIT: First problem resolved thanks to haganbmj.
You can use attribute value selectors for "plan to watch" if I'm not mistaken.
div[id='plan to watch'] {
}Good suggestion!
Hmm, I tried doing div[id='plan to watch']>h3 { color: #FFFFFF; }, but it doesn't seem to be working. Am I doing this correctly?
Make sure you have a space between each element of your selection. Looks like you don't have spaces before or after the >
div[id='plan to watch'] > h3 { color: \#FFFFFF; }
EDIT:
Actually, I took a look at your list it looks like you do have the space in there. So the issue is that
td a, span.tag\_airing, span.tag\_notairing, i.tag\_re, i.tag_notes, \#watching > h3, \#on-hold > h3, \#dropped > h3, \#completed > h3, div[id="plan to watch"] > h3 {
color: \#FFF;
}
is being overridden by
\#lists h3 {
color: \#022F70;
}
because the latter is "more specific" apparently.
Try something like this instead - adding #lists should ensure that this rule takes precedence.
\#lists div[id="plan to watch" > h3 { color: \#FFFFFF; }I didn't think lack of spaces would cause any problems (I hadn't used any for the other headers). However, I added spaces like you suggested and it still doesn't seem to be working.
Perhaps the rest of my CSS is causing a conflict? Here's my current code:
EDIT: I just saw your edit! The code you gave me works wonderfully. Thank you so much!
I took a look after I made that suggestion about the spaces. Now that I think about they probably aren't needed if you're using > anyways. I edited my previous post with something that should work.
How do I change the background of the edit popout?
This is how it looks, I'd just like to change the background and keep my white text so it's legible.

There are a few different backgrounds in there, so I broke them down for you.
/\ This is the entire box's background \/
.update { background: red; }
/\ This is the selection input fields (score, progress, etc) \/
.update input, .update select { background: green; }
/\ This is the Notes text field \/
.update .listNotes { background: orange; }I'm trying to get the effect I have here:
But where there is also a drop-shadow on the show cover image. I'm not entirely sure this is possible, as the drop-shadow on the .rtitle selector looks like a drop-shadow for the whole list under the white box-shadow. which is an effect I want to maintain.
If there is any to get this to work the way I'd like it, I'd be happy to hear.
Always forget this bit: http://hastebin.com/sonitizino.avrasm
So if I understand what you mean you want multiple drop shadows?
You might be able to layer another background image behind each cover image?
Otherwise I'm not sure you can as the rtitle is what will give you the white border and the black shadow, I don't think you can apply a shadow to a background declaration.
If you're just trying to get to what you have in that picture above (a white border and a list shadow), it's probably something like this..
.rtitle {
background-repeat: no-repeat;
background-size: 100px 144px;
background-color: white;
width: 108px;
height: 152px;
box-shadow: 1px 1px 1px 1px \#000;
}
Not quite sure what the shadow should be to match yours.
That sort of gets to where im at now.
I should've been more specific as to what I'm trying to get. I want there to be a drop-shadow behind the image for a show which falls on the box shadow. Or thats what it would look like. I dont think there is a way to do that specifically, but what I want is for it to look like that, not work like that.
Hey. So I am using two codes from a couple users. Before I added the second person's, the "Watching", "Completed" etc had shadows. But when I added the 2nd code, they disappeared. Can someone please help fix it? The added code is the set before /background/ link
2 weaks ago I made a thread about making notes permanently visible and thanks to lhaganbmj I was able to make it work but since then I changed my list a couple of times and I dont remember the way anymore. What I know is that the .hint--notes { opacity: 1; } doesnt work for me. Sorry for asking the same questin again but could somebody help me? :(
Here is my current CSS code
I can help you, but what's your problem? What do you want to do?
Make the notes in my anime list permanently visible without the need to hover the mouse above them.
Ok, I can help you with that. There are two hovers that change the properties of the notes. There is no way to simply disable a hover in a custom CSS stylesheet, so you actually have to "reset" all the values of the properties to its original value (before the hover).
So, for example, if the font-size of your notes is 1em before the hover, the value after the hover must be 1em as well. The same aplies to opacity, for example. If it's 1 before the hover, so should be during the hover.
These are the properties you will have to reset in order to disable the hover. Simply go over your stylesheet and find the original values, and change them. Currently, they hold the original values of my stylesheet, so you'll most likely have to change them.
Quick Noob question here. Can you mess around with your list HTML through CSS somehow?
You can, actually... I think. If I understood it right, you can't do much, but you can still mess with it a little bit, since each anime/manga has its own ID. And you can user :before and :after to insert stuff in between.
So, yeah, you can mess with it, but you probably won't get much far with only CSS.
I see. Thanks Pretzel.
Damn it, I don't even like pretzel :(
Anyway, I can help you with your CSS if you want. I am no master, but I can do stuff.
Silly Pretzel, not everyone likes themselves. I would like tips and hints and such or some reference CSS but i dont want anyone but me to directly edit my CSS.
I was thinking about making a thread explaining the HTML structure behing the lists pages and all the important classes/IDs. But I am neither a god with web development (I pretty much just to mess with it until I get the result I want) and I am not sure if I want to do such a time consuming guide if the list HTML structure can change at any moment.
I don't know much about CSS please help! This isn't my CSS but i manage to change the background, I need help to change the color for sidebar and above the images header also i want to add my scoring.
Animelist
Code
The color of the sidebar is on line 28. Additionally you can change the color of the text and icons on line 31, and line 34/35 for hover.
The color for the titles on the list are available on line 161/162 to change.
For displaying your scoring, you can add:
position: relative;before the closing brace on line 85.
bottom: -215px;
Thanks but one last question what line is it to change the color for 'Completed' and 'Watching' title?
Thanks one problem i want my 'Episode' and 'Type' down at the bottom along with my score
You can use the property top on _.sml col__ to move it downwards. Like this:
.sml_col {
top: 195px;
}
About the type and number of episodes, you will have to tell me how you want it. Once it's on the bottom, do you want the type on the right side, above the number of episodes? How do you want it?
For some reason, the background picture for my anime and manga lists is now shrunk and in the top-left corner, and the rest of the background is white. I didn't make any changes since I implemented my current CSS 2 weeks ago, and it didn't have this problem before.
Try adding the following:
body { background-size: cover }
The background pic is bigger, but now it's distorted. Also, there's still some white space on the right of the screen.
I'm actually using one of Aisako's donated CSS's. link
Try with:
body
{
background:url(#####) no-repeat center center fixed;
background-size: cover;
}
There's no more white space, but the image is still kinda distorted. I guess this'll do for now. Thanks for the help.
I just don't get why it's acting up now. It was fine before.
I know a friend of mine here has the same CSS, just with a different url image for the background. He initially had the same problem, but was able to fix it by deleting his cache and cookies. I tried that, but it didn't seem to work.
If the resolution of the picture isn't the cause, then try finding it on a different url. I had the same problem with the image on my anime list (the resolution was fine, but it was extremely blurry), I changed the url and it works fine since.
Hi all! Quick question. (new to CSS)
The CSS I'm using is working fine. The only problem is when you hover over the anime title, the cover image appears... but it's blurred.
I'm sorry for the small image. But anyway, when you hover over an anime title, the cover image that appears next to it is blurred and not clearly visible.
Any suggestions will be greatly appreciated!
If it helps, the section of code where it makes the cover image appear is this:
(not really sure if it does help, since I tried it with a different code but it still had the same blurred effect)
lists .list { position: relative; }
lists .list tr.rtitle {
background-repeat: no-repeat;
background-position: 0 99999px;
}
lists .list tr.rtitle td.row__type {
position: fixed;
display: inline-block !important;
background-image: inherit;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
width: 250px; height: 325px;
margin: 0px; padding: 0px;
// margin-top: -72px // - meant to be a comment
z-index: 99999;
left: 100vw;
visibility: hidden;
opacity: 0;
padding-top: 325px;
}</span></span>The issue here is that it's using ANILIST-COVERS=SML instead of =LRG like you have defined.
Double check that you don't have the comment that creating a new CSS generates. Remove it if it happens to still be there.
I made a note of this in the bugs/feedback thread already, but Anilist will take the first declaration of ANILIST-COVERS, regardless of if it's commented out or not. So in this case it sees SML first and uses that, you'll also notice that you probably have COUNT and POPUP as well if you still have the comment there.
@haganbmj Sorry to be another bother, but is there a way to get rid of the part that displays what type of anime it is?
Whenever I hover over the anime, the cover shows up but the anime type appears inside too. I looked at that specific section in the CSS code and tried to remove it... but that stops the cover from appearing.
Code I'm currently using here.
This is the specific section that from the notes, triggers the anime type to appear. I removed the text part to see if that does anything... looks like it doesn't.
lists .list tr.rtitle:hover td.row__type {
` left: 30px;`
` top: 325px;`
` visibility: visible;`
` opacity: 1;`
}
[Removed]
The issue here is that it's using ANILIST-COVERS=SML instead of =MED like you have defined.
Double check that you don't have the comment that creating a new CSS generates. Remove it if it happens to still be there.
I made a note of this in the bugs/feedback thread already, but Anilist will take the first declaration of ANILIST-COVERS, regardless of if it's commented out or not. So in this case it sees SML first and uses that, you'll also notice that you probably have COUNT and POPUP as well if you still have the comment there.
List ids now correctly use custom list names.
The plan to watch id has also been fixed to not include spaces.
Is there a way I can see the code for other people's CSS? There are some I'd like to modify, but didn't know if that was an option here like it was on MAL.
If you navigate to their list and right-click then hit "Inspect Element" you can find their CSS in the frame that appears by either clicking "Style Editor" and then clicking #####.css for Firefox or hitting "Sources" and then expanding the user_css folder and clicking the only css file in there for Chrome.
I've found a bug in someone else donated CSS theme. The bug is that the custom category title overlaps the list when the title is too long that it needs to wrap in multiple lines.
Or visit my manga page for the bug: http://anilist.co/mangalist/Melvinkooi
CSS link for investigation: http://pastebin.com/1005LNF8
The theme is Aisako Theme V1.2. Which also has this bug without any edits.
Help would be appreciated, since i don't know CSS that much.
I've also contacted the maker of this theme, but he couldn't fix it since he hasn't any time to fix that at the moment.
I'm not quite sure how you want it fixed.
One thing you can do is make the headers wide enough so that they display inline
\#lists h3 {
width: 200%;
margin-left: -50%;
} Which will look something like this:
Alternatively you can set them to display property to inline which will force the list down to the end of the of the header
\#lists h3 {
display:inline;
} Which will look something like this:

I got the covers working but how do I get rid of the repeating covers under the titles ? Also, no-repeat center center fixed is not working and my background still repeats as I scroll down. I try to add it but my background disappears.
First of all, I don't know how you're doing it but
body{ background: url(/your pic/) no-repeat fixed center center; background-size: cover; }
does work.
As for your other problem, you also have to set it to no-repeat:
.rtitle{ background-repeat: no-repeat !important; }
And in case you don't just want it not to repeat but don't want the covers appearing in the rows at all, just position them away with something like this:
.rtitle{ background-position: -999px 0px !important; }
Solved the background, but not the second problem. It only did this:

If you combine the two fragments of CSS it should give you your desired effect.
.rtitle {
background-repeat: no-repeat;
background-position: -999px 0px;
} results in

One more thing, do you know why this
keeps happening as I hover over the titles ?
I suppose
table { border-collapse: inherit; }
would do.
And by the way, the way you're positioning some things in your list won't work for resolutions other than yours. Your search bar, for instance. I can only assume you mean to place it at the bottom, yet by placing it using margin-top you're making it stand in the middle of the list for higher resolutions.
So keep it as it is, but instead of margin-top: 635px; use bottom: 0px;
I suppose the same stands for at least one other element in your list.
Hi all! The main problem I have is trying to change the content of Score and Progress
with those lines
th.headerscore{visibility:hidden;}
th.headerscore::after{content:"スコア";visibility:visible;}
th.headerepisodes{visibility:hidden;}
th.headerepisodes::after{content:"進捗";visibility:visible;}
I could do it with the rest of text, but not with this one probably because of .sml_col, it shows like this: 
This is the whole CSS . Also I'm trying to make a hover thumbnail showing at the right side, not working. Let's see if anybody can help me! Thanks.
Aren't you using the wrong selectors here, btw?
th.sml_col.header__score{ visibility:hidden; }
th.sml_col.header__score::before{ content:"スコア";visibility:visible; position:relative; top:100%; }
th.sml_col.header__progress.header__episodes{ visibility:hidden; }
th.sml_col.header__progress.header__episodes::before{ content:"進捗";visibility:visible; position:relative; top:100%; }
This seems to work.
As for adding covers, use {ANILIST-COVERS=LRG}, {ANILIST-COVERS=MED} or {ANILIST-COVERS=SML} depending on the size you want. If you have further questions regarding placement, feel free to ask.
How would I go about removing the 'airing' tag? I'm using this http://pastebin.com/raw.php?i=vfzUwHz6 although I've made a number of changes to it. I edited the size of the white boxes where the text is so now the airing tags are hovering down below everything (see image)

Hello everyone
I'm new on this CSS lists, and i would like some help ;__; * please
I really try, but not work :/
I want to make the header on right and the list on left, and add covers ..
I would like to stay that way : http://i.imgur.com/LuPYeXB.png
This is the CSS : http://notepad.cc/share/OaHwX71gQM
and the preview: http://anilist.co/animelist/20896
Thank you, all! :)
Soory for my bad english
Can someone explain to me what CSS is and how does it work??? =|
"Cascading Style Sheets (CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language." -Wikipedia
It's a file used to format the look of a Website.
A good place to start is w3schools and the donation thread, if you just want to roll with a finished Style.
Hey friends
This is my current CSS
http://notepad.cc/share/5iNZM9yVrO
This is what is left for me to do
http://i.imgur.com/qyP9ATy.png
The most problematic is changing H3's colors. I already made a post about it in a seperate thread, but the advice didn't work and I imagine it is because it is interfering with code elsewhere and I didn't want to bother that member anymore. So I came to bother the rest of you about the things I needed fixed.
Thank you.
#lists h3 {color:white;}
th.sml_col.header__score{color:white;}
For progress and type just put those into the score's place. Although, I think that that's a clunky way to do it and there's probably a more elegant one. If somebody knows what it is, please correct me.
And for the black to transparent one, I have no idea, but would also like to know.
Could somebody please help me with my CSS.
I pretty much gotten it to the place that I want it to be, however, when using the anilist popup code, it only allows me to click the title to display the popup, which immediately gets cancelled out as it takes you to the anilist database page.
I want the popup to open if I click on the score region, even if the score isn't present.
e.g.

Thanks
I'm not too sure since I haven't and don't really want to test it but if you replace
td.hover_icon a {
position: absolute;
width: 158px;
padding: 0 7px;
top: 10px;
} with td.hover_icon a {
width: 158px;
padding:0 7px;
top: 10px;
}
td.row__title {
width: 158px;
display: inline-block;
height: 100px;
}
td.row__score, td.row__type, td.row__episodes {
top: -40px;
}
then it will extend the height of the title cell to be the height of the white section (see image) which should extend the active area that the edit pop-up covers.
If I had to guess though, I imagine that clicking the score/episodes/type won't work for bringing up the edit panel thing but clicking either side of the title or between the title and other information will work.