• Hi,

    My current badge setup is as follows:
    <i class=”fas fa-check-circle”> Available</i>

    I need to change the font of Available to Roboto, no matter what way I try to go about this, nothing will change.

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    and thank you for writing in!

    The fas class set the font-family of the <i> tag to “Font-Awesome” to show the icon correctly.
    If you want to change the font-family of that block you should print the block in another way:
    <i class="fas fa-check-circle"></i><span class="my-roboto-container"> Available</span>
    With this structure you can use the following CSS code snippet to set the font-family to “Roboto” for the “Available” text:

    .my-roboto-container{
        font-family: Roboto, sans-serif;
    }

    Please try this solution and let us know if everything works fine!

Viewing 1 replies (of 1 total)

The topic ‘Changing font’ is closed to new replies.