« Web, HTML, Tech Forum

Changing the Font color CSS

I am trying to get the font color for everything that would default as black on the profile to white to be able to contrast with my new background but am having trouble writing the css to do so. Would love a quick hand if someone could help.


Report Topic

8 Replies

Sort Replies:

Reply by Katie

posted

<style>

h1, h2, h3, h4,h5,a, p, nav label, .section {color: white;}


h1, h2, h3, h4, h5, a, p, nav label, .section{ text-transform:lowerercase !important;
}

.online{
  color: white!important;  
}

</style>


Permalink Report Reply

Reply by DickHayden

posted

thank you, I actually saw you reply to the same question after and got it situated


Permalink Report Reply

Reply by ꒱ Ang3l/Juno ⊹.* 🍮🍥

posted

 It worked! Tysm!


Permalink Report Reply

Reply by ynriuk

posted

I changed the font color and want to use it to make some new typography

geometry dash lite


Permalink Report Reply

Reply by TRASHER VICOUS

posted

that geometry dash lite guy is so wise



Permalink Report Reply

Reply by fnfunkin

posted
updated

I went through the same thing when customizing my profile—changing all default black text to white sounds simple but quickly turns into an fnf -level challenge with all the overlapping selectors and !important battles. You’ll probably need something like * { color: white !important; } to brute-force it, but be careful—it can mess with visibility in modals or buttons.


Permalink Report Reply

Reply by santiago45

posted
updated

It worked out, thanks

I ran into the same issue when overhauling a dark-themed layout — once you start changing default black text to white, you quickly discover how many elements rely on inherited styles or very specific selectors. A global override works, but it’s usually better to organize your CSS so you don’t have to rely on !important everywhere.


In my experience, structuring styles cleanly from the start saves tons of time later, similar to how we approach UI and visual consistency in game app development services at projects like this https://redwerk.com/industries/game-development/


Permalink Report Reply

Reply by 𝒮𝓀𝓎𝓇𝒶𝒽

posted