Okay
  Public Ticket #1960718
Cannot change the font of subtitles, menus
Closed

Comments

  • Cecilia started the conversation

    I've tried to change the font 'Poppins' to something else in the CSS stylesheet and using the 'Easy Google Font' plugin for wordpress but I just can't change it. For now, there's no 'Poppins' in the CSS file anywhere but the subtitle, menu, and other parts of the site is still displaying it as Poppins.

    For the 'Easy Google Font' plugin, the subtitle changes when I change the T2/H2 option but only on the project page and not the home page.

    I'm really frustrated. Can you specify how I can change it please?

  •  1,809
    Support replied

    Cecilia, can you provide wp admin access in a private comment?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   Cecilia replied privately
  •  1,809
    Support replied

    Hi Cecilia,

    I changed

    $grenada_font_url = add_query_arg( 'family', urlencode( 'Poppins:300,400,600,700' ), "//fonts.googleapis.com/css" );

    to

    $grenada_font_url = add_query_arg( 'family', urlencode( 'Muli:300,400,600,700' ), "//fonts.googleapis.com/css" );

    in /include/scripts-config.php using Appearance -> Editor

    Can you check?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Cecilia replied

    It worked! Thank you so much. But to be exact, in which part of the "Edit Theme"'s section can I find this code? (if I want to change it to another font later on)

    Thanks again.


  •  1,809
    Support replied

    Hello, 

    go to Appearance -> Editor and the you 'll find inside of the include folder (look in the right side panel with filenames)

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Cecilia replied

    Hello, is there a way to assign the title, subtitle, and menu a specific font class? It seems that I still can't change the size of the subtitle of each portfolio piece and the font size of the menu. :(

  •  1,809
    Support replied

    Hi Cecilia,

    It's not very difficult if you inspect the elements in the browser. So for example for menu fonts:

    https://d.pr/free/i/hpDRo3


    @media all and (min-width: 1025px) {

      .flexnav li a {

           font-size: 12px;

       }

    }


    add the code to customizer -> additional CSS and change the font size value

    for hero subtitle:

    https://d.pr/free/i/ptJ9OT


    .hero-subtitle {
        font-size: 12px;
        font-weight: 600;
        line-height: 20px;

    }


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Francisco replied

    It would be great if you let us fully disable google fonts in the theme.

  •  1,809
    Support replied

    Hello Francisco,

    if you go to /include/scripts-config.php you will see this bit:

    // enqueue standard font style
    $grenada_font_url = '';
    /*
    Translators: If there are characters in your language that are not supported
    by chosen font(s), translate this to 'off'. Do not translate into your own language.
    */
    if ( 'off' !== _x( 'on', 'Google font: on or off', 'grenada') ) {
    $grenada_font_url = add_query_arg( 'family', urlencode( 'Poppins:300,400,600,700' ), "//fonts.googleapis.com/css" );
    }
    wp_enqueue_style( 'grenada-font', $grenada_font_url, array(), '1.0.0' );

    this is where the google fonts are enqueued.

    you can remove this but you also need to replace all instances of font-family referring to the google fonts in CSS files.


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy