WordPress.org

Support

Support » How-To and Troubleshooting » Is it possible to change the font on certain text?

Is it possible to change the font on certain text?

  • Megagents

    @megagents

    Not like bold or italic but a different looking font that isn’t the normal arial.

Viewing 3 replies - 1 through 3 (of 3 total)
  • JamesICT

    @jamesict

    You can set up different classes in your CSS and call them whenever needed.

    For example:

    <span class="fontarial">I would like this text to be arial,</span><span class="fontverdana"> but this text to be verdana</span>

    In your CSS:

    .arial {font-family: arial;}
    .verdana {font-family: verdana;}

    Of course, you do not have to use only span, it can be called via divs or using your paragraphs.

    To make it even simpler, add the classes to your quicktags.

    Lots of flexibility with colours, fonts and whatever else you want to individualise.

    sabinou

    @sabinou

    Well, you can search “define font-family” in any search engine, and you will know which part of your stylesheet you can edit 🙂

    Megagents

    @megagents

    Ok, that’s cool but I just thought of something. Could it be possible to use a custom font I downloaded? Just wondering.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to change the font on certain text?’ is closed to new replies.