-
AuthorPosts
-
April 24, 2016 at 12:26 pm #620785
I can’t seem to get my web fonts to work as expected. There seems to be something in place overriding some of the font-family settings. In fact, the only font family that I can edit in the CSS is the caption content, using the following CSS. I can get all three fonts (frontage-bold, frontage-3d, frontage-regular) working here. (Also I’m not sure why the .div is required here as everything I’ve read suggests it should work without?)
div.avia-caption-content {
font-family: “Frontage-Bold”, sans-serif !important;
color: #333333;
font-size: 20px !important;
}I really need to be able to edit the caption title font family. Any idea how? Here is the CSS I’m currently using. The font-size and color work, but not the font-family. I can’t get it to change from frontage-bold.
.avia-caption-title {
font-family: “Frontage-3D”, sans-serif !important;
color: RED !important;
font-size: 40px !important;
}+++++
I am using this CSS for my fonts:
@import url(“//hello.myfonts.net/count/2ff92a”);
@font-face {font-family: ‘Frontage-Bold’;src: url(‘webfonts/2FF92A_1_0.eot’);src: url(‘webfonts/2FF92A_1_0.eot?#iefix’) format(’embedded-opentype’),url(‘webfonts/2FF92A_1_0.woff2’) format(‘woff2’),url(‘webfonts/2FF92A_1_0.woff’) format(‘woff’),url(‘webfonts/2FF92A_1_0.ttf’) format(‘truetype’);}
@font-face {font-family: ‘Frontage-3D’;src: url(‘webfonts/2FF92A_2_0.eot’);src: url(‘webfonts/2FF92A_2_0.eot?#iefix’) format(’embedded-opentype’),url(‘webfonts/2FF92A_2_0.woff2’) format(‘woff2’),url(‘webfonts/2FF92A_2_0.woff’) format(‘woff’),url(‘webfonts/2FF92A_2_0.ttf’) format(‘truetype’);}
@font-face {font-family: ‘Frontage-Regular’;src: url(‘webfonts/2FF92A_4_0.eot’);src: url(‘webfonts/2FF92A_4_0.eot?#iefix’) format(’embedded-opentype’),url(‘webfonts/2FF92A_4_0.woff2’) format(‘woff2’),url(‘webfonts/2FF92A_4_0.woff’) format(‘woff’),url(‘webfonts/2FF92A_4_0.ttf’) format(‘truetype’);}
April 26, 2016 at 2:42 pm #622168Hey Fleur!
You are using an old version of the theme, so please upgrade to Enfold 3.5.3 and let us know if you still need help afterwards.
Deactivate all your plugins, to check if one is causing this issue.
Regards,
AndyApril 27, 2016 at 1:59 am #622629Hi Andy
I’ve actually gotten this one working, thank you. I’m not sure exactly what the problem was either! A lot of trial and error, and adding and deleting things, got me there in the end!
For future reference, I’m using a child theme at the moment. How do I install the new theme and keep the changes I’ve made to the child theme?
Happy to start a new thread for this if needed:)
April 27, 2016 at 2:01 am #622634Hi!
Please refer to this post – http://kriesi.at/documentation/enfold/using-a-child-theme/
You can simply move your custom CSS code into style.css file of your child theme :)Best regards,
YigitApril 27, 2016 at 2:06 am #622642Thanks Yigit.
I’ve made some changes recently to the .php file, to solve the issues with slider images that occurred with the new version of WordPress. I’m aware this is a workaround – will I need to update the .php file again or has this issue been resolved with the new version of Enfold?
Cheers
FleurApril 27, 2016 at 2:07 am #622644 -
AuthorPosts
- You must be logged in to reply to this topic.