bmoliterno on "[Theme: Ward] Changing font family in Jumbotron"

ساخت وبلاگ

bmoliteo
Member
Posted 5 days ago #

I have the free version of Ward Theme and I am trying to make the font family in the Jumbotron cursive. I've tried using Easy Custom css plug-in to manipulate this with no luck. Any help would be much appreciated?

Insert this css - to choose another font go to Google fonts and pick the font of your choice

@import url(https://fonts.googleapis.com/css?family=Dynalight);

.jumbotron h2 {
font-family: 'Dynalight;
}
.jumbotron p {
font-family: 'Dynalight;
}

bmoliteo
Member
Posted 4 days ago #

Thanks @jaycbrf, I copy and pasted all that was listed:
@import url(https://fonts.googleapis.com/css?family=Dynalight);

.jumbotron h2 {
font-family: 'Dynalight;
}
.jumbotron p {
font-family: 'Dynalight;
}

Still no luck...

Embedding fonts requires placing that code first in your stylesheet or else it won't work.

bmoliteo
Member
Posted 7 minutes ago #

Thank you @c.bavota, and apologies for the dumb follow-up question here, but, I want to understand what you're saying. If I need to put that code first in the style sheet, are you saying that I cannot use Easy Custom css then? And that I have to edit the main code within the theme? I'm worried that I will mess up that code and not have a website anymore...

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 189 تاريخ : دوشنبه 17 خرداد 1395 ساعت: 21:08