« Back to the HTML Forum

help with the thing on top of thee nav bar?

Posted by lars

posted

Forum: HTML Group

how can i color the part on top of navigation bar? i've looked everywhere i literally have no clue. the part with the spacehey logo and the search bar


Report Topic

3 Replies

Sort Replies:

Reply by heath

posted

<style>

.top{

background color: COLOR HERE !important;

</style>


Permalink Report Reply

Reply by lars

posted

its not working 


Permalink Report Reply

Reply by nago

posted
updated

hii, im a little late lol, but heath's code was correct-- the only thing is the dash (-) between background color. so the code is this:

<style>

.top{

background-color: COLORHERE !important;

</style>

if you also want to change the color of the "home, browse, search…" write the same code, but replace ".top{" with ".links{". you can also find the hex code to any color in https://html-color.codes/


Permalink Report Reply