• Resolved jiibuser

    (@jiibuser)


    Hey,

    I try to change the font on my website. I use the @font-face method in the file “style.css” on my child theme. I was careful to write the good path, so i don’t think the problem come from here. I added 4 files for the font (.eot, .woff, .svg, .ttf) in the children theme folder.
    I also put a class on the text I want to change (in elementor).
    But when i call this class (in the section “additional css”) to change it (with font-family), it doesn’t work … the link is made because i can change the size or the color but not the font… I also tried to write the call directly in the file “style.css”, but nothing.
    Is the font of the blocksy theme take precedence over fonts that we want to ad ?

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jiibuser

    (@jiibuser)

    I just noticed that even, when try to change the color of my text in the style.css file and then i upload it on my ftp server, it doesn’t work !
    The problem come from the ftp i guess ? It looks like that the child theme do not load the style.css file

    Thread Starter jiibuser

    (@jiibuser)

    Doesn’t the problem come from the order in which the styles are called?

    Theme Author creativethemeshq

    (@creativethemeshq)

    Hello @jiibuser,

    Please note that by default the child doesn’t load the style.css file located in the Child Theme.
    This is so because we don’t want to make a redundant request for people who don’t change this file.

    Here is how you could load the style.css file from the functions.php file.

    Hope this helps.

    Thread Starter jiibuser

    (@jiibuser)

    Thanks !!!!!!!!!

    Theme Author creativethemeshq

    (@creativethemeshq)

    @jiibuser you’re welcome ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Font-face (css3)’ is closed to new replies.