-
AuthorPosts
-
June 3, 2015 at 6:00 pm #291775This reply has been marked as private.June 3, 2015 at 6:36 pm #291798This reply has been marked as private.June 4, 2015 at 12:10 am #292104
Hi There,
Yup, you should place all custom modification on the child theme. All your post on june 3rd are now private.
Thanks!
July 6, 2015 at 2:28 am #321936Hi,
tried it myself and nothing seems to work, no problem with the css or location, also the theme now have sirious loading issues.
what am i doing wrong?
i think i saw somwhere i need to disable shortcodes, how do i do this and what does it effect?July 6, 2015 at 2:34 am #321940Hi there,
Are you working on http://pico.cool/?
You already have installed CS, so you can remove x shortcodes plugin.To improve performance in your site, please check this link :
https://community.theme.co//kb/performance/Also provide us with a code you are using to add custom font family.
Thanks.
July 6, 2015 at 3:14 am #321973Thank you for the quick replay.
Yes im workink on http://pico.cool/ iv’e deleted the shortcodes plugin and still the font wont show.
The loading problem occuors becuse of the font, you can see it takes time for it to show up on the main menu.iv’e put the font folder in the same folder as the child css and also tried differant locations, also i tried to delete spaces in the font file location url and nothing happand.
here’s my entire child theme css:
@font-face {
font-family: ‘Conv_Shikuch Maleh-Medium’ !important;
src: url(‘fonts/Shikuch Maleh-Medium.eot’);
src: url(‘fonts/Shikuch Maleh-Medium.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/Shikuch Maleh-Medium.woff’) format(‘woff’),
url(‘fonts/Shikuch Maleh-Medium.ttf’) format(‘truetype’),
url(‘fonts/Shikuch Maleh-Medium.svg#webfontitalic’) format(‘svg’);
font-weight: normal;
font-style: normal;
}.entry-title {
line-height: 1.4;
font-family : ‘Conv_Shikuch Maleh-Medium’;
}.x-navbar .x-nav-wrap .x-nav > li > a {
font-style: normal;
font-family: ‘Conv_Shikuch Maleh-Medium’;
font-weight: 700;
text-transform: uppercase;
font-size: large;
}.rtl.x-navbar-static-active .masthead-stacked .desktop .x-nav>li:not(.x-megamenu) .sub-menu, .rtl.x-navbar-fixed-top-active .masthead-stacked .desktop .x-nav>li:not(.x-megamenu) .sub-menu {
left: auto;
right: 0;
font-family: ‘Conv_Shikuch Maleh-Medium’ !important;
font-size: large;
}.h-custom-headline{
font-family: ‘Conv_Shikuch Maleh-Medium’;
}.x-img-thumbnail {
visibility: hidden;
}body {
font-family: ‘Conv_Shikuch Maleh-Medium’ !important;
}Thanks again.
July 6, 2015 at 3:22 am #321987HI there,
You named font family
Conv_Shikuch Maleh-Medium
while formats namedShikuch Maleh-Medium
Please fix it.
Thanks.
July 6, 2015 at 3:28 am #321996Thats how he shows up in the font family css that comes with the font.
changed to what you said still no effect.July 6, 2015 at 3:42 am #322008Hi,
Upon checking, it looks like your fonts files are missing.
If you try to access the fonts, all are not available.
http://pico.cool/wp-content/themes/x-child/fonts/Shikuch%20Maleh-Medium.eot
http://pico.cool/wp-content/themes/x-child/fonts/Shikuch%20Maleh-Medium.woff
http://pico.cool/wp-content/themes/x-child/fonts/Shikuch%20Maleh-Medium.ttf
http://pico.cool/wp-content/themes/x-child/fonts/Shikuch%20Maleh-Medium.svgPlease make sure you have these files in x-child/fonts folder
Shikuch Maleh-Medium.eot
Shikuch Maleh-Medium.woff
Shikuch Maleh-Medium.ttf
Shikuch Maleh-Medium.svgThanks
July 6, 2015 at 1:14 pm #322442You actually made me look! lol, of course they are http://prntscr.com/7piygv
July 6, 2015 at 2:06 pm #322492Hi there,
Your fonts directory name is font (without ‘s’) 🙂
Please update your font face declaration with following and the issue should be resolved:
@font-face { font-family: 'Shikuch Maleh-Medium' !important; src: url('font/Shikuch Maleh-Medium.eot'); src: url('font/Shikuch Maleh-Medium.eot?#iefix') format('embedded-opentype'), url('font/Shikuch Maleh-Medium.woff') format('woff'), url('font/Shikuch Maleh-Medium.ttf') format('truetype'), url('font/Shikuch Maleh-Medium.svg#webfontitalic') format('svg'); font-weight: normal; font-style: normal; }
Cheers!
July 7, 2015 at 2:43 am #322903Omg, i guess i need a vacation.
You guys are the best!!! thank you very much 🙂
July 7, 2015 at 3:48 am #322932You’re welcome and thank you for your kind words. 🙂
October 26, 2015 at 9:57 am #640047Hi,
I’m having an issue with this fix. I’m trying to upload these fonts, but there isn’t a file structure including a fonts folder in my X child theme. Where should I add them exactly? If I add them to the X theme directly, will they be overwritten when the theme is next updated?
Thanks
Mike
October 26, 2015 at 11:38 am #640156Hi Mike,
Thanks for writing in!
You can upload your fonts to the child theme under folder fonts. Then the link to your fonts will be
http://yourdomain.com/wp-content/themes/x-child/font-name.ttf
. You can then use that link with appropriate font name in the provided CSS code.Let us know how it goes. Thanks!
-
AuthorPosts