Home>Support>Change font inline – Vantage

Change font inline – Vantage

I would like to change the font (font-family) for select words in a sentence without a line break. I am using Vantage and tried to use custom CSS by using an H5 class, but get a line feed. Likewise with Div. Do you know a way to do this?

CSS:
h5.dancing {
font-family: “dancing script”;
font-size: 2em;
}

On page:
…writing marketing copy to entertain, educate and influence. By developing the content specific to the audience, I’m able to enhance the user experience and reader engagement.

thank you,
Lynne

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Lynne

    Thanks for reaching out.

    Try using span instead of h5. The heading tag might have a clear: both or display: block; added which would clear the following words onto a new line.

  2. 4 years, 1 month ago lkorigin

    Thanks. I tried span again and got it right this time. Appreciate it.

  3. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear that helped. Cheers for now :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More