Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #291775

    peterjitg@yahoo.com
    Participant
    This reply has been marked as private.
    #291798

    peterjitg@yahoo.com
    Participant
    This reply has been marked as private.
    #292104

    Friech
    Moderator

    Hi There,

    Yup, you should place all custom modification on the child theme. All your post on june 3rd are now private.

    Thanks!

    #321936

    idanrub
    Participant

    Hi,

    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?

    #321940

    Christopher
    Moderator

    Hi 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.

    #321973

    idanrub
    Participant

    Thank 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.

    #321987

    Christopher
    Moderator

    HI there,

    You named font family Conv_Shikuch Maleh-Medium while formats named Shikuch Maleh-Medium

    Please fix it.

    Thanks.

    #321996

    idanrub
    Participant

    Thats how he shows up in the font family css that comes with the font.
    changed to what you said still no effect.

    #322008

    Paul R
    Moderator

    Hi,

    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.svg

    Please 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.svg

    Thanks

    #322442

    idanrub
    Participant

    You actually made me look! lol, of course they are http://prntscr.com/7piygv

    #322492

    Zeshan
    Member

    Hi 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!

    #322903

    idanrub
    Participant

    Omg, i guess i need a vacation.

    You guys are the best!!! thank you very much 🙂

    #322932

    Paul R
    Moderator

    You’re welcome and thank you for your kind words. 🙂

    #640047

    Mikedrychatshop
    Participant

    Hi,

    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

    #640156

    Zeshan
    Member

    Hi 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!