Fonts

Home Forums All Other Themes Fonts

This topic contains 4 replies, has 2 voices, and was last updated by  Forum Moderator 1 day, 9 hours ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #130627

    info1157
    Participant
    • Topics: 5
    • Replies: 8
    • Total: 13
    Member since: September 9, 2017

    How do I upload/install Franklin Gothic Heavy and Eurostile in the Design Agency Theme?

    #130758

    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 21705
    • Total: 21705
    Member since: August 16, 2013

    Hi,

    Kindly follow this instructions to add custom fonts in your theme.

    1. Kindly go to https://www.web-font-generator.com/
    2. Select a TTF or OTF file from your computer.
    3. Checked…I’m uploading a font that is legal for web embedding. I checked with the author and/or EULA.
    4. Click on Generate Web Font
    5. Download fonts folder and paste in your theme folder any location, And proper link that folder path in style.css.

    Ex.  @font-face { font-family: 'Open Sans'; font-style: normal;  font-weight: 400;
                 src: local('Open Sans Regular'), local('OpenSans-Regular'),
                 url('css_fonts/open-sans-v15-latin-regular.woff2') format('woff2'), 
                 url('css_fonts/open-sans-v15-latin-regular.woff') format('woff'); 
     }
    
     body { font-family: 'Open Sans',sans-serif;}

    Regards,
    Dave

    #130848

    info1157
    Participant
    • Topics: 5
    • Replies: 8
    • Total: 13
    Member since: September 9, 2017

    I uploaded the ttf files for the fonts, and added the following to the style sheet:

    @font-face { font-family: ‘Eurostile’; font-style: normal; font-weight: 400;
    src: local(‘Eurostile’), local(‘Eurostile’),
    url(‘css/fonts/Eurostile.ttf’) format(‘ttf’),
    }

    @font-face { font-family: ‘Franklin Gothic Heavy’; font-style: normal;
    src: local(‘Franklin Gothic Heavy Regular’), local(‘Franklin Gothic Heavy Regular’),
    url(‘css/fonts/Franklin Gothic Heavy Regular.ttf’) format(‘ttf’),
    }

    @font-face { font-family: ‘erie’; font-style: normal; font-weight: 400;
    src: local(‘erie’), local(‘erie’),
    url(‘css/fonts/erie.ttf’) format(‘ttf’),
    }

    BUT, the code is set up that I can pick font in the theme editor, and this does not seem to affect that. I must need to add code somewhere else. Can you kindly instruct me on this?

    #130849

    info1157
    Participant
    • Topics: 5
    • Replies: 8
    • Total: 13
    Member since: September 9, 2017

    I THINK the php needs to be updated… specifically where it calls “font-awesome”.

    wp_enqueue_style( ‘skt_design_agency-prettyphoto-style’, get_template_directory_uri().’/css/prettyPhoto.css’ );
    wp_enqueue_script( ‘skt_design_agency-prettyphoto-script’, get_template_directory_uri() . ‘/js/jquery.prettyPhoto.js’, array(‘jquery’) );
    wp_enqueue_script( ‘skt_design_agency-customscripts’, get_template_directory_uri() . ‘/js/custom.js’, array(‘jquery’) );
    wp_enqueue_script( ‘skt_design_agency-filter-scripts’, get_template_directory_uri().’/js/filter-gallery.js’ );
    wp_enqueue_style( ‘skt_design_agency-font-awesome-style’, get_template_directory_uri().’/css/font-awesome.min.css’ );
    wp_enqueue_script( ‘skt_design_agency-testimonialsminjs’, get_template_directory_uri().’/testimonialsrotator/js/jquery.quovolver.min.js’, array(‘jquery’) );
    wp_enqueue_script( ‘skt_design_agency-testimonials-bootstrap’, get_template_directory_uri().’/testimonialsrotator/js/bootstrap.js’, array(‘jquery’) );
    wp_enqueue_style( ‘skt_design_agency-testimonialslider-style’, get_template_directory_uri().’/testimonialsrotator/js/tm-rotator.css’ );
    wp_enqueue_style( ‘skt_design_agency-animation-style’, get_template_directory_uri().’/css/animation.css’ );
    wp_enqueue_style( ‘skt_design_agency-responsive-style’, get_template_directory_uri().’/css/theme-responsive.css’ );
    wp_enqueue_style( ‘skt_design_agency-owl-style’, get_template_directory_uri().’/testimonialsrotator/js/owl.carousel.css’ );
    wp_enqueue_script( ‘skt_design_agency-owljs’, get_template_directory_uri().’/testimonialsrotator/js/owl.carousel.js’, array(‘jquery’) );

    #130861

    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 21705
    • Total: 21705
    Member since: August 16, 2013

    Hi,

    Kindly send us your URL of the site and WordPress admin details (Username & Password) via email: support@sktthemes.com Please mention this forum URL while replying so that we understand what needs to be done.

    We’ll check and revert back to you.

    Regards,
    Dave

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.