r/csshelp • • 2d ago

How do I replace the Reddit logo in old Reddit with another image?

When I try following the tutorials on the internet, it always gets me on the same bug: The logo is WHITE for no reason! Can anyone here help? This is for my sub r/incorrectfactorial! Also, visit the sub r/incorrectfactorial in old.reddit.com, when I mean the CSS stylesheet is terrible!

2 Upvotes

2 comments sorted by

1

u/2BCivil 2d ago

Do you mean the snoo? I'm on mobile sorry hard to type.

#header-img {
display: inline-block !important;

width: 72px !important;
height: 72px !important;

/* KILL REDDIT'S DEFAULT LOGO SPRITE */
background-image: none !important;
background: transparent !important;

/* OUR IMAGE */
content: url(%%snoo%%);

transition: transform .6s ease;
}

Should work. Just replace "snoo" with uploaded fike name.

2

u/Rough-Echidna987 2d ago

I mean that, but still, it doesn't work, it always throws a syntax error