Skip to main content Custom Kudos Workskin : r/AO3

Custom Kudos Workskin

r/AO3 - Top Kudos A KUDOSI? FOR MEI? *gasp* THANK YOU DEAR READERI (3*k.+)3*.11

Since many of you were interested in knowing how to customise the kudos message on your fics, I decided to upload the CSS code here! It's only applicable for one-shots though, but still, we'll take what we can get. Hope this is helpful!!!

#workskin ~ #feedback #kudos_message {
  font-size: 0;
}

#workskin ~ #feedback  #kudos_message.notice::after {
  font-size: 12pt;
  padding: 10px;
  display: block;
  content: "YOUR FIRST KUDOS MESSAGE";
}

#workskin ~ #feedback   #kudos_message.kudos_error::after {
  font-size: 12pt;
  padding: 10px;
  display: block;
  content: "YOUR SECOND KUDOS  MESSAGE";
}

With Micro E-mini options, access the world’s leading indices on major equity markets using smaller contract sizes. Trade with precision and scale your strategy affordably. Start trading the big markets today.

Just to clarify, the first kudos message is the one that's "Thank you for leaving kudos!" And the second one is when you give kudos again so "You've already left kudos here :)"

850

Gotta love a little black magic... ;-)

152
Continue this thread

I wonder why it only works on one-shots. Any work skin experts in the house?

267

Well it does work on long fics if you choose to view it with the "Entire Work" option rather than "Chapter By Chapter" I'm not workskin expert but I think (?) because it needs a single page for working, and you would have to make a longer extensive code that would account for the chapter count as well. Hope someone tries to make one tho, my longfics are begging for sweet custom kudos 😭

267

When you have multiple chapters, the HTML markup is slightly different (the #workskin element is wrapped in a parent element), so the feedback box is not the direct sibling anymore. This is not supposed to work, it's an oversight on AO3s part.

147

Gah, you beat me to it, man! 😭

26

Keep talking dirty to me 🥵

8
Continue this thread
Continue this thread

The HTML structure of the page is different for a single chapter / entire work. HTML is a tree structure with parents, siblings and children. In CSS every element can be selected by its tag name (like "div"), id (#workskin), or class name (.work). You can further select children (everything inside the selected element) by simply adding a space and then add the child element selector you want. You can select directly preceding and following siblings with "+" and "~" but so far you CANNOT select an element's parent.

Very simplified you have

<div class="work">
  <div id="workskin"></div>
</div>
<div id="feedback"></div>

For the chaptered works (that don't work) and

<div id="workskin"></div>
<div id="feedback"></div>

For single chapter / entire works.

To style the kudos button you need to reference #feedback somehow.

The reason why one works but not the other is because work skins always enforce to have the #workskin id selector in front of every rule. Usually, this means you can style this and every element in the structure inside it. (Relatively) new is a so called "sibling connector" (the ~ between #workskin and #feedback) that allowes you to style a following sibling element (on the same level as #workskin).

Since the chaptered HTML structure has #workskin (our enforced element) as a child of .work and that as a direct sibling of #feedback, we can't reference #feedback because from our enforced point of entry we can't go up the HTML tree to our parent .work and reference its sibling #feedback from there.

I hope this made sense :)

53

I asked Charles_Rockafellor on AO3 about it and this is what he said: https://archiveofourown.org/comments/1035727151

In Chapter by Chapter view, the #feedback section is more of an aunt/uncle relationship to #workskin than a sibling like it is in one-shot/Entire Work view.

26

❤️

17
Continue this thread
Continue this thread

heads up, i'm pretty sure this being possible is a bug that will likely get fixed in the future. but maybe we can beg ao3 to implement custom kudos messages intentionally (and they wouldn't mess with screen readers that way)

154

I mean, it's just a workskin, so I don't know how it would be considered a 'bug'. If you choose to hide the creator's style, you'd get the regular standard kudos message. But let's hope ao3 lets us customise the message in the future 😔🤞🏼

76

it's intended that work skins would only affect the #workskin element and things inside it, not what comes after. the way it works right now means that not only you can change the kudos message, you can mess with anything inside the kudos and comment sections in very evil ways, like replacing text in people's comments

...which i only realized just now and i'm split between hating how bad this is and finding that very funny and regretting that i deleted a genuine hate comment someone left on my one-shot instead of doing this to them...

74
Continue this thread
Continue this thread
Continue this thread
🔥 ATOM TOKYO -Shinjuku- | Japan's #1 Dance Club | 4,000 Weekly Guests | Open 10PM
  • I read it in her voice 😭💕

    Comment Image
    31

    Please forgive my rather extreme ignorance, but how do I use this code? Where do I put it?

    17
    1. Go to {My Dashboard ► Skins ► My Work Skins ► Create Work Skin}.

    2. Forgot to add: copypasta the rules into that new skin, and edit them as needed.

    3. Save your work skin (you can always edit it all that you want later, as many times as you want) with whatever name you like (again: you can always change that name).

    4. Go edit your fic to apply your work skin (halfway down the page to the Associations: at the bottom of this section you'll see a field named Select Work Skin; click the Edit Field's pointer and it will present you with a list of all of the Work Skins that you can choose from).

    25
    Continue this thread

    YOU CAN CHANGE THAT??

    9

    Omg, that is super cute

    6

    Works with ::before, too, incidentally. Scads more fun things available for the entire ~ #feedback, once you really start playing with it! 😉

    5

    Me, an almost exclusive oneshot writer: It’s free real estate

    5

    This is amazing! Thank you for sharing! :D

    3

    holy shit based af i need to do this tonight

    3

    Thanks so much for sharing!! 

    2

    maybe super duper late but is there any way edges can be rounded in the skin so it's exactly the same as if you left a regular kudos...

    2
    Continue this thread

    You can edit your font too! ✨

    2

    That's adorable! Unfortunately for me, I only have multiple chapter fics :x

    2
    Continue this thread

    Hello chat, bit of a noob in workskins, where do I put this?

    2
    Continue this thread

    Ive been doing this for months and someone just recently made a comment about it! Always makes my day to see people actually looks at the little message.

    2

    Least you could've done is given credit to the original author, no?

    Fair warning, this is a bug/oversight in AO3's validator, and you might get this patched away by making it public.

    5

    hi, sorry I have no idea who the original author is, i saw someone do the same to their fics on ao3 itself and asked them for the code, which they graciously supplied to me. I would've credited them, but they've since deleted their account. If you know who it is, please let me know and I'll credit them right away.

    Again, I was not aware this is a bug. I'm not recommending anyone to apply it to their fics, but because I had previously posted about it, a lot of people were asking me for the code which I then dm'ed to tens of people. And did get requests to post it on the subreddit itself. Hope that clears things up.

    13
    Continue this thread
    Continue this thread

    i love this thank you

    1

    hi can you please resend it below, I can't copy the text on posts for some reason but I can do it for comments

    1

    This is a slightly different version from my own work skin, but here you go:

    #workskin .NOTE_re_kudos_messages {

    content: " /// *

    Totally stolen from mackerel_cheese's work 'you were never meant for the computer screen', https://archiveofourown.org/works/64310923 😇, I only modified it with an extra :before message — edit 31 Jul 2025 mack told me just now that they'd actually stolen it from gifbot (EDIT 10 Dec 2025: who had made it with a critical assist from mystyrust... now gifbot tells me, and so now I need to edit all of my skins yet again 😭), so mine is actually a second-hand theft here.

    * /// ";

    }

    #workskin ~ #feedback #kudos_message {

    font-size: 0;

    }

    #workskin ~ #feedback #kudos_message.notice:before {

    font-size: 12pt;

    padding: 10px;

    display: block;

    content: "What, what, what...? Kudos?!?";

    }

    #workskin ~ #feedback #kudos_message.notice:after {

    font-size: 12pt;

    padding: 10px;

    display: block;

    content: "Ahh, kudos! Yes!!! Thank you, thank you, THANK YOU!!! ❤️";

    }

    #workskin ~ #feedback #kudos_message.kudos_error:before {

    content: "Kudos error? Oh, my, that is unfortunate...";

    font-size: 12pt;

    padding: 10px;

    display: block;

    }

    #workskin ~ #feedback #kudos_message.kudos_error:after {

    content: "Ohh, that's so sweet of you — you dropped kudos here already, but I still love you for the thought. You can always comment, though! ❤️";

    font-size: 12pt;

    padding: 10px;

    display: block;

    }

    4
    Continue this thread
    Continue this thread

    Oh! I love this!

    1

    This is so cute!!

    1