-
AuthorPosts
-
August 6, 2015 at 4:26 pm #352276
RotaryPoweredParticipantDoes this cover my last question completely?
https://community.theme.co//forums/topic/how-do-i-add-my-own-font-and-use-everywhere/August 6, 2015 at 4:55 pm #352299
FriechModeratorHi There,
Thanks for writing in! Please follow the instruction here thoroughly, and let us know how it goes.
Cheers!
August 7, 2015 at 8:43 am #352955
RotaryPoweredParticipantI’ve followed this to a “T”, and still nothing like I’d imagined, I see changes in the titles and my home blog title (unsure if that is h1).
I have my fonts here: wp_content/fonts.
Does google fonts have any relevance here?
I’ve gotten to the point of aggravation, I’m certain this is possible and that I’m close.
I am noticing that there seems to be dozens of other ways people think this should be done, why? There should be ONE way, besides the ability to add your code to customizer>css or to the styles.css file.Let me help you understand my confusion, hopefully someone can understand because certainly someone has been here before………..
https://community.theme.co//forums/topic/adding-custom-font-to-theme-customizer/
https://community.theme.co//forums/topic/how-do-i-add-my-own-font-and-use-everywhere/
These are in the order I had found them..
The first link makes sense, that Google Fonts being standard with any x theme would be giving my edits problems.
No-one has mentioned I need to comment out code from google fonts..?I’m at the point where I had deleted x and my child and completely reinstalled them.
August 7, 2015 at 10:57 am #353007
ZeshanMemberHi Rotary,
Thanks for writing in! To assist you with this, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you.
After that, please point us to the locations which are not using your custom font so we can provide you with a tailored solution.
Thanks!
August 7, 2015 at 1:13 pm #353071
RotaryPoweredParticipantFirefox Inspector is showing these errors.
https://drive.google.com/file/d/0B19mqUScS0v9eFdJZnY0VWktMTA/view?usp=sharing
URL: http://www.earthmoveronlineauctions.com
My paragraph elements ( a ?) are not responding, also now the text is not being taken by the whole site.
So convenient for me I have 4 texts i would like to choose from and use on the entire site.
This is what ends up in my custom>css in my child theme.
@font-face {
font-family: ‘Code_Bold’;
src: url(‘http://earthmoveronlineauctions.com/public_html/wp-content/themes/x-child/fonts/Code_Bold.eot’);
src: url(‘http://earthmoveronlineauctions.com/public_html/wp-content/themes/x-child/fonts/Code_Bold.eot?#iefix’) format(’embedded-opentype’),
url(‘http://earthmoveronlineauctions.com/public_html/wp-content/themes/x-child/fonts/Code_Bold.woff’) format(‘woff’),
url(‘http://earthmoveronlineauctions.com/public_html/wp-content/themes/x-child/fonts/Code_Bold.ttf’) format(‘truetype’),
url(‘http://earthmoveronlineauctions.com/public_html/wp-content/themes/x-child/fonts/Code_Bold.svg#svgFontName’) format(‘svg’);
}h1, h2, h3, h4, h5, h6, #site-logo, .post-title, .widgettitle, .x-btn {
font-family: “Code_Bold”;
}a {
font-family : ‘Code_Bold’;
}.x-topbar {
font-family : ‘Code_Bold’;
}.x-logobar {
font-family : ‘Code_Bold’;
}.x-navbar ul li a{
font-family : ‘Code_Bold’;
}.x-brand {
font-family : ‘Code_Bold’;
}(src: I assume means source would that be an issue being my fonts folder is under wp_content?)
The only measure I’ve not taken below.
How would i create a custom .css file? +file> new file name> type “.css” at the end of the files name? open > add above text> save> close, right?August 7, 2015 at 6:54 pm #353283
RadModeratorHi there,
Cross domain font isn’t allowed, your base url uses www, but your font declaration isn’t.
It’s either remove www from you url at general settings, or add www at your font declaration.
Eg.
src: url(‘http://www.earthmoveronlineauctions.com/public_html/wp-content/themes/x-child/fonts/Code_Bold.eot’);
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-184017 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
