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)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form