• Hi all,

    I am trying to change the font family of exactly one page only. I have 5 pages, but I want to change the font of only ONE. So everything on that last page (page 5) should be in another font.

    Here is the web site https://tinyurl.com/nfb92hf

    Any hint appreciated!

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure what you mean by page 5, I don’t seem to be able to navigate to any different pages, only different sections on the home page.

    However…

    If you do have different pages, each page will have a unique class assigned to the body element. If you go into the page editor, up in the address bar of your browser should be a segment that looks like post=373. That number is called the post ID (also called the page ID). The class that will be assigned to the page’s body element will be page-id-373, so it’s easy to write CSS rules which just affects that specific page:

    .page-id-373 {
       font-family: Bozo,ariel,sans-serif;
    }

    If you post a link to the exact page that you want to modify, and the font-family that you want to use, I can provide a more specific rule.

    Thread Starter KiwiLondon

    (@kiwilondon)

    Dear CrouchingBruin,

    thanks for getting back!

    I had tried it before with the CSS rule you mentioned. But it did not change anything. I will just leave the font on all pages the same. In case I really need to change in the future, I shall get back to you!

    Many thanks!
    Best
    Kiwi

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change font family for exactly *one* page *only*’ is closed to new replies.