Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Custom font does not work. HELP!

    • 5 years, 6 months ago angkor
      Participant

      Hello!

      I add font file in ../font/AvenirNext-Bold-01.ttf

      Add in field_typography lines:

      “Avenir Next Bold”  => “Avenir Next Bold”,
      $this->field[‘ext-font-css’] = get_template_directory_uri() .’css/fonts.css’;

      Add lines in functions.php:
      wp_enqueue_style( ‘redux-external-fonts’ );
      wp_register_style( ‘redux-external-fonts’, get_template_directory_uri().’css/fonts.css’);

      Add file fonts.css:

      @font-face {
      font-family: ‘Avenir Next Bold’;
      src: url(‘../font/AvenirNext-Bold-01.ttf’) format(‘truetype’);
      font-weight: bold;
      font-style: normal;
      }

      The font is in the drop-down list Typography
      But it does not work, HELP! (

    • 5 years, 6 months ago Ruco
      Keymaster

      Hello,

      I think now it’s ok I have added the code into the style.css file.

      @font-face {
        font-family: 'Avenir Next Bold';
        src: url('font/AvenirNext-Bold-01.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
      }

      You haven’t call the font.css file in the functions.php file this is the reason that the font doesn’t load.

      Let us know.

      Regards!

    • 5 years, 6 months ago Ruco
      Keymaster

      Please if you like our theme rate it with 5 stars.

      Thank You!

    • 5 years, 6 months ago angkor
      Participant
      This reply has been marked as private.
    • 5 years, 6 months ago angkor
      Participant
      This reply has been marked as private.
    • 5 years, 6 months ago angkor
      Participant
      This reply has been marked as private.
    • 5 years, 6 months ago Ruco
      Keymaster
      This reply has been marked as private.
    • 5 years, 6 months ago Mirela
      Participant

      Hello,

      Actually that is the font i see in your site’s headings. See screenshot: https://ibb.co/qN4V46s
      What browser are you using to see this?

      Best regards!

    • 5 years, 6 months ago angkor
      Participant

      Thank, I wrote “Ouu, I re-save Custom css Code in General Options and IT IS WORK! =)”

      Now everything is working well

    • 5 years, 6 months ago Mirela
      Participant

      Hello,

      Yes, the ticket was not updated properly when i replied. So I only saw the reply with the screenshots. It’s great to know it’s all ok now.

      Let us know if there is anything else we can help you with.
      Best regards!

Viewing 9 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password