« SpaceHey Forum

How to easily change text color on your page!

Posted by ButterKomi

posted
updated

Forum: SpaceHey

Changing text color on your SpaceHey page is actually really simple! All it takes is this little block of code to change most of the text color on the page.

<style> 
main {
  background: white;
  color: darkviolet;
  padding: 9px 2px;
  font-size: 85%;
}
</style>

This may look a bit confusing, so let me break down what this does

main {

This is the identifier for everything in the profile container, which is that little white box in the middle of your page! This holds all your profile stuff, from your username to your friends list! This is the MOST IMPORTANT part of the code.

background:

This seems to do nothing on the page (I certainly don't see a text background) but just to be safe don't change it. If you know what it does let me know!

color:
This is what you'll want to edit! Here you'll need to input an HTML Color Name. A comprehensive list of color names can be found here.

padding:
This is the text padding, as the name implies. This declares how much space is put between the text and other elements.

font-size:
This sets how big the text is.


This code changes most of the text on the page, with exceptions being:
  • The header
  • The footer
  • Links
  • Some headers
But this should work fine for most use cases. 

Paste this anywhere in the "About Me" section of your profile. Hope this helps!


Report Topic

1 Reply

Reply by 𝐯𝐚𝐧𝐢𝐢𝐥𝐥𝐚𝐚

posted

thank you so much! it worked!!


Permalink Report Reply