Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #981115
    Ann
    Participant

    Hi team!

    I have a custom font added to my site but I was wondering if I could have a different font on just one page?

    Thanks,

    Ann

    #981137
    Rupok
    Member

    Hi Ann,

    Thanks for writing in! You could use the page ID and add custom CSS to declare font family for any specific page.

    Example :

    body.page-id-10 {
      font-family: "Lato", sans-serif;
    }

    For any element:

    .page-id-10 .your-element-class {
      font-family: "Lato", sans-serif;
    }

    You can find your page ID by following this : https://theme.co/community/kb/how-to-locate-post-ids/

    If you have additional question then provide your URL and let us know specifically.

    Cheers!

    #981143
    Ann
    Participant

    Awesome!

    Thanks so much!

    Ann

    #981168
    Thai
    Moderator

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-981115 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>