• 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

Question about @font-face changing other fonts on site

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 › Design Tips and Tricks › Question about @font-face changing other fonts on site

This topic is: not resolved
  • This topic has 8 replies, 2 voices, and was last updated 12 years, 3 months ago by AnitaC.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • January 11, 2014 at 11:59 am #84637
    RaspberrySunshine
    Member

    I just purchased a font for my site and after reading tutorials here was able to install it and have it work on the first try. I was shocked! BUT, after I added the new font where I wanted to in my CSS, my primary menu, post titles and custom menu on my sidebar went from normal to bold.

    I've gone through Firebug, but can't seem to find what I did wrong. Can anyone have a look and see what I might have done wrong?

    Cindy

    http://raspberrysunshine.com

    http://raspberrysunshine.com
    January 11, 2014 at 12:14 pm #84638
    AnitaC
    Keymaster

    What font face did you just install?


    Need help with customization or troubleshooting? Reach out to me.

    January 11, 2014 at 1:05 pm #84640
    RaspberrySunshine
    Member

    This font: Janda Stylish Script

    The below was put into my style sheet:

    /* @import must be at top of file, otherwise CSS will not work */

    @import
    url("//hello.myfonts.net/count/298a0e");

    @font-face {
    font-family: 'JandaStylishScript';
    src: url('webfonts/298A0E_0_0.eot');
    src: url('webfonts/298A0E_0_0.eot?#iefix')
    format('embedded-opentype'),
    url('webfonts/298A0E_0_0.woff') format('woff'),
    url('webfonts/298A0E_0_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

    I only want the font in a few areas, so I put this in for my sidebar titles:

    .theme-aquared .widget-area h4 {
    font-family: 'JandaStylishScript', Georgia, Palatino, Times New Roman, serif;

    January 11, 2014 at 1:13 pm #84643
    AnitaC
    Keymaster

    Look at your code here - http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fraspberrysunshine.com%2F&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en. You have some errors in your style sheet.


    Need help with customization or troubleshooting? Reach out to me.

    January 11, 2014 at 1:27 pm #84649
    RaspberrySunshine
    Member

    Uh, that would be an understatement! LOL.

    Through the link you sent, can I go through each line they show an error and work on it, or is it something far more serious?

    January 11, 2014 at 1:46 pm #84658
    AnitaC
    Keymaster

    You can work on them one at a time, but keep in mind, that as you fix something in there - the line numbers may change. FYI - there is no such thing as Float: center. You can only float right or left.


    Need help with customization or troubleshooting? Reach out to me.

    January 11, 2014 at 2:27 pm #84661
    RaspberrySunshine
    Member

    Oy ve! I was looking at the lines of error and am confused as I didn't make most of these changes. My WP and Genesis are up to date, are all these errors in my theme?

    January 11, 2014 at 2:43 pm #84664
    AnitaC
    Keymaster

    I see one that you need to fix. You put the code for the font above the theme name. That's incorrect. Bring all that font code down and put it under the line Import Fonts. It's not in the right position.


    Need help with customization or troubleshooting? Reach out to me.

    January 11, 2014 at 2:44 pm #84667
    AnitaC
    Keymaster

    Re-read my message above. I had to fix some typos.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2026 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