Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi lauratejerina,

    In order to use a font on your website, it needs to be enqueued so that visitors will download it. This can be complex because of all the different file types you need to support different browsers. I can’t help with this step but if you do some searching for “enqueue web font in wordpress” you ought to be able to find some help.

    Applying a font to just the booking form is easy with the following CSS code:

    .rtb-booking-form {
      font-family: "Your Font", sans-serif;
    }

    I’d recommend chucking that into your theme’s style.css file, unless it’s also a product which you expect to receive updates for. If so, you can use a plugin like Simple Custom CSS.

    Thread Starter lauratejerina

    (@lauratejerina)

    Thank you! It worked perfectly ?? I already had the font files uploaded so the code recognised easily my font’s name ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom font for the booking form’ is closed to new replies.