If you have a sub with a two-word name like Photoshop Battles, it usually shows up like "photoshopbattles" in your title. Here's some things you can do.
Make it all caps, i.e. "PHOTOSHOPBATTLES"
/* ! Header | Sub name -------------------------------------------------------------------------------- */
.pagename {font-size: 24px; letter-spacing: -1px; text-transform: uppercase; margin-bottom: 9px;}
.pagename a {color:#FFFF00; border-style: solid none; border-width: 2px; border-color: transparent; padding: 0; margin: 0 12px;}
Split your title into multiple words or anything else you want:
/* ! Header | Sub name -------------------------------------------------------------------------------- */
.pagename a:after, .titlebox .whoaversename a[href$="/v/photoshopbattles"]:after {
content: "Photoshop Battles"; <----- whatever you want
}
.pagename a, .titlebox .whoaversename a[href$="/v/photoshopbattles"] {
font-size: 0!important;
}
.pagename a:after, a[href$="/v/photoshopbattles"]:after {
font-size: 20px;
vertical-align: center;
color:#FFFF00;
border-style: solid none;
border-width: 2px;
border-color: transparent;
text-decoration: none;
}
Change text and color when someone hovers:
.pagename a:hover:after {
color:#FF0000;
content: "Back to Sub Front"; <----------Whatever you want
}
Thanks to @Fred-Stiller-OnAWire for name replacement code
view the rest of the comments →
[–] chmod [S] ago
I don't think so but I may be wrong. I always force dark mode in my subs.
[–] crappygame ago
oh okay. I just started doing css, and if you look at /v/nogamenolife there is some things I'm able to do .light or .dark with and some things I'm not. So it kind of confused me ._. lol This one wasn't that big of a deal if I could or not, but i'm also trying to figure out how to make it so I can do it to my background. Cause I want my dark theme to have a different background then my white one.. but idk if I can do that either ._. lol xD
[–] chmod [S] ago
Hey that's really cool! I didn't know you could change the image based on mode.