Best Premium and Free WordPress Themes › Forums › SuperNews › How to change header menu font type
Tagged: font;, menu change
- This topic has 3 replies, 2 voices, and was last updated 7 years ago by
acmesupports.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
September 1, 2016 at 9:19 am #8328
nik180
ParticipantHi. I’m trying to change menu font
ScreenI 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 ago by
nik180.
September 1, 2016 at 3:32 pm #8335acmesupports
ModeratorHello 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
September 1, 2016 at 5:30 pm #8344nik180
ParticipantThank you for answer. I’m trying to add none google font . This plugin not helped me
September 2, 2016 at 3:07 am #8363acmesupports
Moderator -
This topic was modified 7 years ago by
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘How to change header menu font type’ is closed to new replies.