Forum Settings
Forums
New
Jul 14, 2016 2:19 PM
#1

Offline
Jul 2015
820
This topic is part of our CSS Tutorials and Add-ons section: https://myanimelist.net/forum/?topicid=2077862




Status headers

When MAL released the modern list layout, one of the major complaints about it was that the "All Anime" page didn't have the status headers that the classic layout does - they'd been replaced with colored tabs that indicated the series' status. However, it's possible to get those headers back on the modern layout with MalCat and CSS; here's how.

Quickstart
1. Import the generator

Add this line to the top of your CSS:
@import "https://malcat-gen.appspot.com/headers";


2. Add the CSS

Add this to your CSS:
body[data-query*='"status":7'] .status { position: relative; }

body[data-query*='"status":7'] .list-item:before {
    display: table-row;
    height: 50px;
}

body[data-query*='"status":7'] .data.status:before {
    display: block;
    position: absolute;
    top: -50px;
    left: 0;
    width: 1023px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    text-indent: 10px;
    border-bottom: 1px solid #EBEBEB;
    visibility: visible;
}


Aaaand done! You should now have status headers on your modern list.

Advanced Usage


FAQ
Shishio-kunFeb 21, 2023 10:03 AM
Reply Disabled for Non-Club Members
Jul 26, 2016 4:33 AM
#2

Offline
Jul 2013
381
nice work!

just one thing i noticed, when i add the codes to remove colored bars, headers disappear too because they're affected by
visibility: hidden;
Jul 26, 2016 11:41 AM
#3

Offline
Jul 2015
820
@nymphiae Did you add
visibility: visible;
to the headers?
Jul 26, 2016 12:07 PM
#4

Offline
Jul 2013
381
Doomcat55 said:
@nymphiae Did you add
visibility: visible;
to the headers?
nope, just copied this
.list-table .list-table-header .header-title.status,
.list-table .list-table-data .data.status {
    width: 0;
    padding: 0;
    visibility: hidden;
}
and since the headers are :before of .data.status (at least i think they are) they get affected by it.

edit: nvm i can't read apparently D:
but wouldn't it be better to have that set to visible anyway? like even if ppl don't want to remove the colored bars? makes it less confusing i guess ^^
Jul 26, 2016 1:07 PM
#5

Offline
Jul 2015
820
nymphiae said:
Doomcat55 said:
@nymphiae Did you add
visibility: visible;
to the headers?
nope, just copied this
.list-table .list-table-header .header-title.status,
.list-table .list-table-data .data.status {
    width: 0;
    padding: 0;
    visibility: hidden;
}
and since the headers are :before of .data.status (at least i think they are) they get affected by it.

edit: nvm i can't read apparently D:
but wouldn't it be better to have that set to visible anyway? like even if ppl don't want to remove the colored bars? makes it less confusing i guess ^^
Ehhhh I don't like the idea of throwing in unnecessary code just to make people's lives easier... but I do want it to be copy/paste-able, so I'll take your word for it. Thanks
Jul 26, 2016 1:38 PM
#6

Offline
Aug 2013
520
Thanks!! <3
Now there's hope for me actually creating a "modern" layout :3




Jul 26, 2016 1:45 PM
#7

Offline
Jul 2013
381
Doomcat55 said:
Ehhhh I don't like the idea of throwing in unnecessary code just to make people's lives easier... but I do want it to be copy/paste-able, so I'll take your word for it. Thanks


yeah figured that's why, and c/p would make it more obvious (for retards like me haha) c:
Nov 6, 2016 6:43 AM
#8

Offline
Jul 2015
820
Updated for the switch to Google App Engine and the new template feature.
Nov 6, 2016 8:44 PM
#9

Online
Feb 2010
13619


I've done a version for myself, where the headers come up on the side.

@import "https://malcat-gen.appspot.com/headers";


body[data-query*='"status":7'] .status { position: relative; }

body[data-query*='"status":7'] .list-item:before {
display: table-row;
height: 50px;
}

body[data-query*='"status":7'] .data.status:before {
display: block;
position: absolute;
top: 0px;
left: -200px;
width: 180px;
height: 50px;
line-height: 50px;
font-size: 24px;
text-indent: 10px;
border-top: 1px solid #EBEBEB;
visibility: visible;
}
Jun 3, 2017 5:39 AM

Offline
Oct 2011
692
Just a quick question, if I may; the #EBEBEB obviously affects the colour of the header line, but where can I change the colour of the text (Watching, Completed, etc) itself?
Jun 3, 2017 12:24 PM

Offline
Jul 2015
820
@crevette In the same code block, just add a "color" property.
Sep 8, 2017 11:00 AM

Offline
Feb 2013
16
Its not working for my modern layout.. Can anyone suggest an alternative?

This is my CSS code:

@import url(https://malcat-gen.appspot.com/headers);


/* FOR MORE HELP SEE HERE:
http://myanimelist.net/clubs.php?cid=19736 
*/


/* DISTANCE OF LIST FROM TOP 
Increase or decrease the px amount to change the distance from the top. */
.header {
  padding-bottom: 400px;  
}
  

/* CUSTOM BACKGROUND IMAGE SETTINGS*/
body {
  background-image:url(http://i.imgur.com/gPOREkD.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-size: cover !important;
}



/* HEADERS AND TABLE LINK FONT */
a {
color: white !important;
font-family: arial;
}

/* CATEGORY HEADER FONT */
.list-unit .list-status-title .text {
  color: white !important;
  font-family: arial;
}

/* CATEGORY HEADER BACKGROUND COLOR */
.list-unit .list-status-title {
  background-color: transparent !important;
}
    
/* LIST LINK FONT */    
.list-table .list-table-data .data a{
color: white !important;
font-family: arial;
}

/* LIST NON-LINK FONT */    
body{
color: silver !important; 
font-family: arial;
}

/* TAGS EDIT FONT */     
.list-table .list-table-data .tags .edit{
color: white !important;
font-family: arial;
}

/* LINK COLOR ON HOVER*/  
a:hover,
.list-table .list-table-data .data a:hover{
color: cyan !important;   
}




/*BACKGROUND AND BORDER COLOR OF CATEGORY LINKS 
The first number in the parenthesis is the amount of red (0-255).
The second number in the parenthesis is the amount of green (0-255).
The third number in the parenthesis is the amount of blue (0-255).
The fourth number in the parenthesis is the amount of opacity (.0 to 1).

Change the fourth number (opacity) to a lesser number like .3 for more transparency. Raise to a higher number like .8 for less transparency. 
*/
.status-menu-container{
  background-color: rgba(50,50,50,.8) !important;
   border: 1px white solid !important;
}


/* BACKGROUND AND BORDER COLOR OF LIST 
See BACKGROUND AND BORDER COLOR OF CATEGORY LINKS above for guide on using RGBA colors.
*/
.list-block{
  background-color: rgba(50,50,50,.6) !important;
   border: 1px white solid !important;
}


/*BACKGROUND COLOR OF ROWS ON HOVER 
See BACKGROUND AND BORDER COLOR OF CATEGORY LINKS above for guide on using RGBA colors.
*/
tbody[class*="list-item"]:hover,
.list-table tbody:nth-of-type(2n+1):hover {background-color:rgba(0,0,0,.5) !important;}


/*OTHER CODES*/
.list-table > tbody:nth-of-type(2n+1),
.list-table, .list-container,  
.list-table .list-table-header .header-title{
  background-color: transparent !important;
     border: 0 transparent solid !important;
}
.list-table .list-table-data .data{
  border: 0 transparent solid !important;
}
.status-menu-container {
    border-bottom: transparent 0 solid;
}

/*Adding Headers*/
body[data-query*='"status":7'] .status { position: relative; }

body[data-query*='"status":7'] .list-item:before {
    display: table-row;
    height: 50px;
}

body[data-query*='"status":7'] .data.status:before {
    display: block;
    position: absolute;
    top: -50px;
    left: 0;
    width: 1023px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    text-indent: 10px;
    border-bottom: 1px solid #EBEBEB;
    visibility: visible;
}

mrehanabbasiSep 8, 2017 11:30 AM
Sep 8, 2017 10:38 PM

Offline
Jul 2015
820
@mrehanabbasi What's not working? I'm seeing the headers: https://puu.sh/xvaAb/5d1b012732.png
Sep 8, 2017 10:55 PM

Offline
Feb 2013
16
But they are not showing up for me though..
Sep 9, 2017 1:11 PM

Offline
Jul 2015
820
@mrehanabbasi Are you using Chrome? If so, try replacing
@import "https://malcat-gen.appspot.com/headers";
with
@import url(https://malcat-gen.appspot.com/headers);
Sep 10, 2017 1:07 PM

Offline
Feb 2013
16
Yes, I'm using Chrome but both of them don't work..
Sep 11, 2017 8:25 AM

Offline
Jul 2015
820
@mrehanabbasi Looks like a bug in Chrome. You'll need to create separate styles for your anime and manga lists, then use the following import in your anime list:
@import "https://malcat-gen.appspot.com/headers?user=mrehanabbasi&list=anime";

and this one in your manga list:
@import "https://malcat-gen.appspot.com/headers?user=mrehanabbasi&list=manga";
Sep 11, 2017 11:17 AM

Offline
Feb 2013
16
@DoomCat55 Thanks a lot.. It's working now.. Now, what should I do to separate different categories? Increase padding for the headers?
Sep 18, 2017 12:34 PM

Offline
Feb 2013
16
@DoomCat55 There is just one problem left.. I cannot interact with the anime / manga entry which is mixed with the headers. Is there any way to separate the headers from the list items so that they cannot mix?
Jan 13, 2019 4:34 PM
Offline
Oct 2018
3
Ok so it may a problem that i use modern design ot smth li that , or i just did't realase the mistake but it just happens like that http://prntscr.com/m6s6go
Jan 13, 2019 4:55 PM

Online
Feb 2010
13619
DragonSite said:
Ok so it may a problem that i use modern design ot smth li that , or i just did't realase the mistake but it just happens like that http://prntscr.com/m6s6go


maybe not working anymore since MAL shut down the API
Aug 21, 2019 2:43 AM

Offline
Oct 2018
5
How do i change the font color of my user name on the cover ? for example its white and i have a white colored cover photo and i want my username in black color. how do i do it?
Aug 21, 2019 3:44 AM
平沢唯

Offline
Dec 2016
2206
@Ashtwich For theme help, please stay within the thread. DoomCat and this tool have no correlation to the CSS theme you are using. I've responded on the relevant forum thread.
Reply Disabled for Non-Club Members

More topics from this board

Sticky: » [ LIST LAYOUTS ] All premade CSS layouts for lists

Shishio-kun - Feb 20, 2023

33 by Naitik7897 »»
4 hours ago

Sticky: » 💚 [REPAIR STICKY] Repair/speed up layouts + Request layout fixes ( 1 2 )

Shishio-kun - Nov 17, 2023

54 by Shishio-kun »»
Dec 22, 2025 2:46 PM

» [CSS- MODERN] ⭐ Minimal Dashboard layout by 5cm ~ Compact and convenient! ( 1 2 3 )

Shishio-kun - Sep 4, 2020

133 by Shishio-kun »»
Dec 2, 2025 10:24 AM

» ⭐Ready to be amazed? View the Bunkasai graphic and list design contest (VOTE YOUR FAVES!)

Shishio-kun - Nov 22, 2025

3 by Shishio-kun »»
Nov 28, 2025 9:02 PM

Sticky: » [ BBCODE ] All 2023 BBcodes, Guides, and Templates ( 1 2 )

Shishio-kun - Feb 16, 2023

65 by F124N »»
Nov 11, 2025 1:31 AM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login