« SpaceHey Forum

How to add new code lines?!

Posted by bearandwolf<3

posted

Forum: SpaceHey

Hello all, I am new to spacehey and I have never coded before. It took me about three days to learn how to correctly edit the background. But I am so lost on how to add new codes! I wanted to change my header fonts to Press Start 2P, and my body fonts to DotGothic16 from Google Fonts. Every time I try to add a new code, it never works. I also tried changing my curser to Nyan Cat, but that also did not work. Other things I tried to do was add a PNG of Gir from Invader Zim. I just don't really know what to do as everything I've tried hasn't worked so far. Below is the code I had for changing my fonts (only the font code did not work, all the colors and background did). What do I add in-between new codes that affect different things? 

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); 

@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');

 p{ 

font-family: "DotGothic16", sans-serif; font-weight: 400; font-style: normal; } 

h1, h2, h3, h4, h5{

font-family: "Press Start 2P", system-ui; font-weight: 400; font-style: normal; } 

</style>


Report Topic

0 Replies