• 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

Change default font "Ek Mukta"

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 › StudioPress Themes › Altitude Pro › Change default font "Ek Mukta"

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 2 years, 3 months ago by LuciO.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 23, 2021 at 2:59 pm #503185
    LuciO
    Participant

    I want to use a different Google Font.
    The script to call on the Google font for "Ek Mukta" is not in the functions.php file.

    I can see it in the source code:
    <link rel='stylesheet' id='altitude-pro-fonts-css' href='https://fonts.googleapis.com/css?family=Ek+Mukta%3A200%2C800&display=swap&ver=1.5.0' media='all' />

    But I can't find it in the theme code.
    Did they move it somewhere else? I need to comment it out - or change it to the new Google font I've selection.

    thanks!

    February 24, 2021 at 7:08 am #503193
    Victor Font
    Moderator

    Look for this code in functions.php. It's there:

    
    wp_enqueue_style(
    		'altitude-google-fonts',
    		'https://fonts.googleapis.com/css?family=Ek+Mukta:200,800',
    		array(),
    		CHILD_THEME_VERSION
    	);

    Regards,

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

    February 24, 2021 at 7:52 am #503199
    LuciO
    Participant

    Thanks Victor - I opened and searched the functions.php file - by the way I just downloaded this theme yesterday - so it's a recent version....
    Here are the Enqueues scripts and styles inside the functions.php file

    * Enqueues scripts and styles.
    *
    * @since 1.0.0
    */
    function altitude_enqueue_scripts_styles() {

    wp_enqueue_script(
    genesis_get_theme_handle() . '-global',
    get_stylesheet_directory_uri() . '/js/global.js',
    [ 'jquery' ],
    genesis_get_theme_version(),
    true
    );

    wp_enqueue_style( 'dashicons' );

    $appearance = genesis_get_config( 'appearance' );

    wp_enqueue_style(
    genesis_get_theme_handle() . '-fonts',
    $appearance['fonts-url'],
    [],
    genesis_get_theme_version()
    );

    $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
    wp_enqueue_script(
    genesis_get_theme_handle() . '-responsive-menu',
    get_stylesheet_directory_uri() . '/js/responsive-menus' . $suffix . '.js',
    [ 'jquery' ],
    genesis_get_theme_version(),
    true
    );

    wp_localize_script(
    genesis_get_theme_handle() . '-responsive-menu',
    'genesis_responsive_menu',
    altitude_responsive_menu_settings()
    );

    }

    Could not find your script........
    wp_enqueue_style(
    'altitude-google-fonts',
    'https://fonts.googleapis.com/css?family=Ek+Mukta:200,800',
    array(),
    CHILD_THEME_VERSION
    );

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

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