• 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 css and font

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 css and font

This topic is: not resolved

Tagged: font

  • This topic has 4 replies, 4 voices, and was last updated 11 years, 1 month ago by Chrys.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 30, 2014 at 7:54 am #103061
    Chrys
    Member

    Hi,

    I am learning things by myself and there is something about font I cannot figure out.
    I read everywhere things about adding a font to a theme and the font needs to be declared in the header.
    But is let's say I want to change the font of my nav bar with the font Bebas. If I use firebug, I find
    .genesis-nav-menu {
    font-family: Lato, sans serif;
    ...

    if I change with
    .genesis-nav-menu {
    font-family: bebas, sans serif;
    ...

    I can see it works.
    So my question is, do I just need to change my css and write betas instead of Lato or do I need to declare betas somewhere in the theme??
    I don't understand this point..If someone could help me on that, that would be great!

    Kind regards

    Chrys

    April 30, 2014 at 10:38 am #103075
    Susan
    Moderator

    Chrys:

    You need to declare the font in your theme (if it's not a "standard" font). Depending on the theme you have, you would either add it to your functions.php file, or your CSS file. Also, you may need to add the font to your theme's folders on your hosting site (for example, if it's not a Google font)

    April 30, 2014 at 10:39 am #103076
    joey
    Participant

    Hi
    you have to install the font and than set your css, so your best bet is to use font face
    http://www.fontsquirrel.com/tools/webfont-generator

    or use google fonts and there are some genesis tuts on how to get google fonts in your Genesis theme.
    Just look around its not too difficult.

    For Bebas you will need font face or even type kit..
    I think type kit is easier because I think if I remember right they do most of it for you..
    I think..
    🙂

    April 30, 2014 at 1:58 pm #103106
    Brad Dalton
    Participant

    Here's a guide i use to install custom fonts http://wpsites.net/web-design/fonts-wordpress/


    Tutorials for StudioPress Themes.

    May 1, 2014 at 10:09 am #103191
    Chrys
    Member

    Hi,

    Thank you all for these answer!
    I was a bit confused because I saw different method on different theme and with genesis I didn't understand the @import for google fonts, I get it now!

    As for fonts that are not from google thanks susan and Joey! I understand it doesn't work the same way.

    I'll practice now 😉

    Kind regards

    Chrys

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

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