This topic is part of our CSS Tutorials and Add-ons section:
http://myanimelist.net/forum/?topicid=419405
You can rename any text on your list to another with this trick! In the shot below, I've replaced the header part that normally says "Tags" with "Reviews" (circled).
![]()
Here's how! btw never use this to change any text on your list to something misleading, or to rewrite the original text in the Copyright section. Doing so can possibly (or in the case of changing the copyright, will) violate Terms of Use on the site. This trick is only to personalize your list, not to make it misleading or misrepresenting in any way.
Step 1: Find the selector!
You can do this if have the exact selector of the part you want to change. The selector is the code that defines what you want to change, like how body is the selector for the main background or .header_cw is the selector for the currently watching header. It can be hard to find the selector for a particular part you want to change- but heres some tips:
Look in premade layouts! Many of the easier premade layouts label sections in the code to find selectors easily. However no CSS has all the possible selector codes for the anime list layouts. You might have to find and add certain selectors on your own.
If you can't find a selector code for a part of a layout you want to change the name of add text to, then you can ask in this topic. I have the tools to find the anime list selectors quite easily.
If you want to find the selector on your own you can use my tutorial on finding any CSS code. Basically you use Firebug on this layout which has many selectors already mapped out and color coded for easy finding. Firebug will tell you the selector name of any of the individual parts quite easily, and you can identify them by the color marked to each one.
Step 2: Make a :before version of that selector.
This is easy to do once you have the selector, just add :before to the end of it!
If the selector is, say, .table_header:nth-of-type(6), which is the selector for most (but not all) people's Tags header. The before version would simply be:
.table_header:nth-of-type(6):before
Step 3: Clear the text on the original selector and add custom text
Now add codes to the original selector to remove the text from it. Don't remove the original selector completely. Use the code font-size: 0; to remove the text.
Also add content: ""; and font-size: 12px !important; to the before version.
.table_header:nth-of-type(6){
font-size: 0;}
.table_header:nth-of-type(6):before{
content: "";
font-size: 12px !important;}
Anything you place in the quotations will become the new text! For example, using this code
.table_header:nth-of-type(6){
font-size: 0;}
.table_header:nth-of-type(6):before{
content: "Reviews";
font-size: 12px !important;}
on this layout below, replaces "Tags" with "Reviews". See before and after code shots!
before the code
![]()
after!
![]()
If you have any questions you can ask in this topic. |