FANDOM


  • .comments li[data-user="SirBlaze"] .edited-by:after,
    .comments li[date-user="MagicalGem98"] .edited-by:after,
    .comments li[date-user="YoyoTeam2007"] .edited-by:after,
    .comments li[date-user="Gamekirby"] .edited-by:after,
    .comments li[date-user="GhoulGirls90"] .edited-by:after,
    .comments li[date-user="Blueberry706"] .edited-by:after,
    .comments li[date-user="Catlette4ever"] .edited-by:after,
    .comments li[date-user="Taeo_Baxter"] .edited-by:after,
    .comments li[date-user="Raspberry30"] .edited-by:after {

    content: "(Administrator)"; margin-left: -2px; font-family: arial; 
    font-size: 10px; font-weight: bold; vertical-align: top; color: red; padding: 0 4px;

    }

    We were planning to make admin tag on our comment in PJ Masks wiki like "(Administrator)" beside the admins' usernames, however they somehow did not pop up whenever an admin comments, can anyone please tell me whats missing in this code?

      Loading editor
    • .comments li[data-user="SirBlaze"] .edited-by:after,
      .comments li[date-user="MagicalGem98"] .edited-by:after,

      data” is misspelled “date”. Then use two colons for the ::after pseudo-element

        Loading editor
    • For the :after pseudo-element, you mean it should be like this: :after: or ::after?

        Loading editor
    • two colons, like this: ::after

        Loading editor
    • The double colons is the proper way to write it but most browsers will just autocorrect it if you use only a single colon.

        Loading editor
    • Screenshot 20200530-060339

      Um, its still not displaying, what am I still missing here?

        Loading editor
    • There's an extra : at the last line of the selector

      .comments li[data-user="Raspberry30"] .edited-by::after:

        Loading editor
    • Additionally, I suggest making the text size a bit smaller.

        Loading editor
    • Alright, it finally now displayed, thanks

        Loading editor
    • Screenshot 20200530-070055
      Screenshot 20200530-070152

      One more problem, almost all of us have now the admin tag on our comment but except one of the members in our administration team, how come it didnt display on an administrator "Taeo Baxter"? I dont really see anything wrong with the code

        Loading editor
    • The problem is that you put an underscore (_) between the space in Taeo's name. Put .comments li[data-user="Taeo Baxter"] .edited-by::after instead.

        Loading editor
    • Ah okay, thanks again

        Loading editor
    • You're welcome!

        Loading editor
    • GhoulGirls90 wrote:
      .comments li[data-user="SirBlaze"] .edited-by:after,
      .comments li[date-user="MagicalGem98"] .edited-by:after,
      .comments li[date-user="YoyoTeam2007"] .edited-by:after,
      .comments li[date-user="Gamekirby"] .edited-by:after,
      .comments li[date-user="GhoulGirls90"] .edited-by:after,
      .comments li[date-user="Blueberry706"] .edited-by:after,
      .comments li[date-user="Catlette4ever"] .edited-by:after,
      .comments li[date-user="Taeo_Baxter"] .edited-by:after,
      .comments li[date-user="Raspberry30"] .edited-by:after {

      content: "(Administrator)"; margin-left: -2px; font-family: arial; 
      font-size: 10px; font-weight: bold; vertical-align: top; color: red; padding: 0 4px;

      }
      We were planning to make admin tag on our comment in PJ Masks wiki like "(Administrator)" beside the admins' usernames, however they somehow did not pop up whenever an admin comments, can anyone please tell me whats missing in this code?

      For stronger attention and notice of the tags, try lighter and neon colours, this will make the tags more noticeable. Edit: also Icons for the tags will also be more noticeable, A Star icon, and a Admin Tag would make it more noticeable! 

        Loading editor
    • I need an admin for my user

        Loading editor
    • Make a new thread and give a link to the relevant wiki. Don't randomly request something in someone else's thread.

        Loading editor
    • Works much better in Regular and Old Wikis. 

      Corrected broken formatting ~ Cheeseskates

        Loading editor
    • Sorry I made a image mistake, I duplicated one i already uploaded.

        Loading editor
    • ok

        Loading editor
    • It would be easier to see with just links to the pages on the two different wiki... I can't tell what I'm looking at.

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.