Replies: 1
Hallo,
I have this code in function.php for google-fonts:
function auto_garage_add_google_fonts() {
wp_enqueue_style( 'auto-garage-google-fonts','https://fonts.googleapis.com/css2?family=Ravi+Prakash&family=Roboto:wght@300&display=swap',array(), null );
}
add_action( 'wp_enqueue_scripts', 'auto_garage_add_google_fonts' );
and I have inserted in extra CSS this code:
p {
font-family: 'Roboto', sans-serif;
font-size:14px;
line-height: 1.5;
color:red;
}
but it is working under the home page only on the first section and the rest of the page and other pages stays unchangeable.
I looked every place for a clue but I couldn’t find anything.
what it can be the problem?
thanks