« Back to the HTML Forum

text coding?

Hi! How can i change the color and font of the texts in my layout? I thecnically know how to change the color and font but i don't know the codes you have to use to change spesific texts in the layout or all of them? plsss helpppppppppp!!!!!?


Report Topic

1 Reply

Reply by nago

posted

i think this might be it (the url is the link to the website you got the font from, for example "https://fonts.googleapis.com/css?family=Indie Flower" and you need to have it downloaded):

<style>

@import url('URLGOESHERE');

</style>

now for the color:

:root {

    headers: COLORYOUWANT;

    text: COLORYOUWANT;

    names: COLORYOUWANT;

    links: COLORYOUWANT;

    hover: COLORYOUWANT;

}

.count {color: COLORYOUWANT;}

.comment-replies {border: COLORYOUWANT;}

nav .top a {color: COLORYOUWANT!important;}

.search-wrapper input[type=text] {

    border: COLORYOUWANT !important;

    color: COLORYOUWANT !important;

}

button {

    border: solid COLORYOUWANT!important;

    color: COLORYOUWANT!important;

}

h1 {font-family: 'NAMEOFYOURFONT', sans-serif;}

hr {border-top: solid COLORYOUWANT;}


Permalink Report Reply