r/csshelp • u/SirChessBot • Jul 27 '15
How can I remove the "created by __" and replace the "__" with a different username?
This is for /r/darkjokes. The previous threads I've found are from 2 or 3 years ago and didn't work.
Thanks.
2
u/ri0tnrrd Jul 27 '15 edited Jul 27 '15
Interesting - in Chrome on both laptops it's not there, but if I switch to Firefox it indeed shows up. I'll tinker around and see if I can get that done up. I'll let you know. I misread your post - if I understand correctly you don't want it to say "created by" you just wanted it to say a username, but not the creators, another username correct?
ri0t
EDIT: To clarify
ri0t
3
u/ri0tnrrd Jul 27 '15
Looks like /u/bobjrsenior fixed you up before I could finish but here is the css anyway (partially snagged from /r/gallifrey mind you)
.titlebox .bottom { font-size: 0; cursor: text; background-color: #cee3f8; margin: 2px -4px; padding-left: 2px; padding-right: 4px; } .titlebox .bottom > .age { font-size: 9px; } .titlebox .bottom::before { font-size: 9px; content: " …";} .titlebox .bottom::after { font-size: 10px; color: #369; cursor: pointer; content: "UsernameYouWant"; }ri0t
1
u/SirChessBot Jul 27 '15
I modified it a bit to change the color and text, but this is great, thanks!
Is there anyway to make it ("UsernameYouWant") link to my username?
BTW: this is the code:
.titlebox .bottom { font-size: 0; cursor: text; background-color: #ffffff; margin: 2px -4px; padding-left: 2px; padding-right: 4px; } .titlebox .bottom > .age { font-size: 9px; } .titlebox .bottom::before { font-size: 9px; content: "created by ";} .titlebox .bottom::after { font-size: 10px; color: #369; cursor: pointer; content: "SirChessBot"; }1
u/ri0tnrrd Jul 27 '15
I know I recall the code for that but I'd have to dig through my files and find it to be honest. I'll let you know what if I can find it - or maybe someone else is faster at me with remembering :)
ri0t
2
1
u/SirChessBot Aug 06 '15
Did you get around to it?
1
u/ri0tnrrd Aug 06 '15
If you go to this subreddit's wiki pages one of the selections is 'selectors' and if I'm remembering correctly it's in there under user id's or something. Take a look if you cannot find it I'll re-go through my plethora of css scraps.
ri0t
1
u/SirChessBot Aug 06 '15
Yeah, I don't really know what I'm looking for in the wiki...
Anyway to link my username to my userpage in the above code?
2
u/bobjrsenior Jul 27 '15
I got something to work from searching through /r/AskReddit css. You can't actually click on the user, but it does show the name you want. Just replace USER with whatever name you want.
You can see how it looks on my test subreddit /r/Bobjrsenior.