How can i change the font of one sentence in a textwidget

how can i change the font of one sentence in a textwidget?
i use googlefonts and i copied the font-family in a <p style="… - html tag
but nothing changed

Hello,

Can you please provide a link to your website and specify the text?

Kind Regards, Roman.

http://www.unser-liebeswerk.de/

“Ein Blick von dir, ein Wort mehr unterhält, als alle Weisheit dieser Welt.” - Johann Wolfgang von Goethe -

gggghhhhhhh

“We waste time looking for the perfect lover instead of creating the perfekt love.” - Tom Robins -

jsdnsldnfladv xdvydv svsdvsdvsdvsdv sfvnsldvn

Hello,

Please check this tutorial:

Kind Regards, Roman.

mmh.
i only want to change one sentence in my text. is there any special code-snipped that i have to use?
i want to use google fonts, but the font i choose doesnt work.

THX

Hello,

Usually a font should be added before using. Please try to use the following CSS code in order to add Audiowide font.

You can add CSS code in DashboardAppearanceCustomizeAdditional CSS (WordPress 4.7 and up). Also you can add CSS code directly to style.css file of your child theme.

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

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

hi, its me again :wink:
i use google fonts and its easy to change the fonts for the hole site. it works perfect.
but how can i change the font for one sentence?

please help me?!! :wink:

hi
i’ve tried it with:
<p style=“font-family: ‘Ruthie’, cursive;”>BLABLABLABLABLABLA</p>

But i doesnt chenged anything.

Hello,

Can you please specify the sentence that you are trying to change?

Kind Regards, Roman.

www.unser-liebeswerk.de

“„Die Summe unseres Lebens sind die Stunden, in denen wir liebten.“ - Wilhelm Busch -”

Hello,

Please try to use Text widget instead of SiteOrigin Editor widget.

Kind Regards, Roman.

thx. but it doesnt work

i used this html code:

<p style=”font-family: ‘Ruthie’, cursive;”>BLABLABLABLABLABLA</p>

please help me
It can not be so hard to change the style of one sentence. its 2017!
:wink:

Hello,

  1. It looks like you still use SiteOrigin Editor widget, not a Text widget.

  2. It doesn’t matter whether you want to change font-family of one sentence or whole site, you have to make sure that the font is added and it’s available. Please check my answers above to learn more about it.

  3. You can add Ruthie font with this custom CSS code:
    @import url('https://fonts.googleapis.com/css?family=Ruthie');

Kind Regards, Roman.

it doesnt work!
used textwidget. and imported your css-code… :frowning:

Bilder-Upload.eu - share DEINE Bilder

Bilder-Upload.eu - share DEINE Bilder

Hello,

I have just tried to add and use that font on my localhost install and it worked as it should. It looks like your issue requires close inspection, this goes beyond our support policy. As an option, you can find a reputable freelancer on Upwork for this kind of service.

Kind Regards, Roman.

I have just tried to add and use that font on my localhost install and it worked as it should.

what did u do?

  1. I tried to use that font for a random element on a page without adding the font, it didn’t work just as I expected.

  2. I added this CSS code:
    @import url(‘https://fonts.googleapis.com/css?family=Ruthie’);
    And after that I was able to use the font.

Kind Regards, Roman.

“I was able to use the font.”

how`? can you explain exactly what u did?
THX man

Hello,

I added <p style="font-family: 'Ruthie', cursive;">Test sentence.</p> into Text widget.

Please make sure that your copied code contains correct quotation marks.

Kind Regards, Roman.

Hi Roman,
i did it exactly like you. no other changes on my site! no extra-code! just the regular sydney theme.
please look at my screenshot-medley.

it looks like wordpress falls back to another font.