How to change header menu font type - Acme Themes

Best Premium and Free WordPress Themes Forums SuperNews How to change header menu font type

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8328
    nik180
    Participant

    Hi. I’m trying to change menu font
    Screen

    I added .ttf , .woff and .eot files to the fonts folder : C:\xampp\htdocs\wp-content\themes\supernews\assets\library\Font-Awesome\fonts

    and added this line of code in font-awesome.php

    
    @font-face {
      font-family: 'DejaVu Neue';
      src: url('../fonts/DejaVuNeue.eot');
      src: url('../fonts/DejaVuNeue.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DejaVuNeue.woff') format('woff'),
        url('../fonts/DejaVuNeue.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }
    

    after I also added font-family in style.css like this one :

    
    .header-wrapper .menu li a {
    	color: #3d3d3d;
    	display: block;
    	font-weight: normal;
    	letter-spacing: 0.4px;
    	line-height: 48px;
    	padding: 0 15px;
    	position: relative;
    	font-size: 14px;
    	font-family: "DejaVu Neue";
    }
    

    But it not changed. How to do it ? What I’m doing wrong ?

    • This topic was modified 7 years, 3 months ago by nik180.
    #8335
    acmesupports
    Participant

    Hello nik180,
    Thank you so much for your questions.
    Better to use the plugin for using fonts. Or you need the better knowledge about the WordPress codes.

    Thank you

    #8344
    nik180
    Participant

    Thank you for answer. I’m trying to add none google font . This plugin not helped me

    #8363
    acmesupports
    Participant

    If you want to add other fonts not the google fonts, you need to know about the WordPress codes.
    Please have a look here on the post, which help to add the font’s for you. And have a look on this post as well.

    Regards,

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to change header menu font type’ is closed to new replies.