About font family apply in all font elements

Home Forums Gillion Theme About font family apply in all font elements

Home Forums Gillion Theme About font family apply in all font elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • timmysweb2002
    Participant

    Hello 🙂
    I have bought Gillion, I would like to use cwTeXYen as default font, I have installed following css and apply in yellow pencil plugin:

    @font-face{
    font-family: ‘cwTeXYen’;
    font-style: normal;
    font-weight: 500;
    src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot);
    src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot?#iefix) format(’embedded-opentype’), url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff2) format(‘woff2’), url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff) format(‘woff’), url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.ttf) format(‘truetype’);
    }

    body,title, h1,h2,h3,h4,h5,h6,menu{
    font-family: ‘cwTeXYen’;
    }

     

    However, some of widget title, homepage elements are not shown in this font. I would like to ask how to apply this font to all elements of the theme? I am looking forward to recieveing your support.
    Thanks

    TImmy

    Hi TImmy,

     

    I hope you are well today and thank you for your question.

     

    Just try adding !important in the above CSS code as following.

     

    body,title, h1,h2,h3,h4,h5,h6,menu{
    font-family: 'cwTeXYen' !important;
    }

     

    Best regards,
    Shufflehound team

    timmysweb2002
    Participant

    Hello

    I have added these code in ‘global’ column through yellow pencil. However, font cannot apply in some of homepage sliders, grid meta(author, category tags), woo commerce. I have added these elements one by one in yellow pencil but my website spends more time to load. If I would like to apply to all font elements, what should i need to add?

     

    my website: timmysweb2002.com/blog

    Thanks

     

    Don’t add it in the Yellow Pencil editor.

     

    Either add it in the Custom CSS code option of your theme on the below path or in the style.css file of gillion child theme.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    If you want to add it to all elements then just change the CSS code as following.

     

    body,body #page-container *,title, h1,h2,h3,h4,h5,h6,menu{
    font-family: 'cwTeXYen' !important;
    }
Viewing 4 posts - 1 through 4 (of 4 total)