• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Google Font Only For One Page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Google Font Only For One Page

This topic is: not resolved
  • This topic has 5 replies, 3 voices, and was last updated 6 years, 6 months ago by defree99.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 7, 2016 at 12:52 pm #192770
    defree99
    Participant

    I'm using the Enterprise Pro theme.

    http://tinyurl.com/juzcmlh

    Is there a way to use the PT Sans Google font only on one specific page?

    September 7, 2016 at 1:07 pm #192772
    Victor Font
    Moderator

    Yes, create a css code block for the page_id and assign the font-family to all content on that page.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 7, 2016 at 1:50 pm #192779
    defree99
    Participant

    I added this below but it did not take effect.

    .post-id-1502 {
    font-family: PT Sans, sans-serif;
    font-weight: 300;
    line-height: 1.625;
    }

    September 8, 2016 at 8:49 am #192823
    emasai
    Participant

    PT Sans should be enclosed in quotes 'PT Sans' and did you enqueue the google font in the functions file?


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    September 8, 2016 at 10:30 am #192827
    Victor Font
    Moderator

    You should be using .page-id-1502 not post-id.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 8, 2016 at 11:57 am #192832
    defree99
    Participant

    Thanks!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble