Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #804399

    Hi, I´m trying to make this text weight lighter but I can´t.
    I´ve created a custom css class called light-font and added this code in quick css but nothing happens.

    .light-font .avia_textblock {
    font-weight: 100!important;
    font-family: raleway!important;
    }

    I don´t know what I´m doing wrong.
    Thanks

    #805225

    Hey cipriana,

    Did you add this font to your website and did you add this variant of the font? Can you show us the code, how you add the font family?

    Best regards,
    Victoria

    #805238

    Hi, yes, I´ve added this code to functions.php

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Raleway’] = ‘Raleway:100,200,300,400,700’;
    return $fonts;
    }
    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘Raleway’] = ‘Raleway:100,200,300,400,700’;
    return $fonts;
    }

    thanks

    #805897

    Hi,

    Thanks for the feedback. The font seems to be imported properly and all the weights seem to be working when I check a header on your site. I’m not sure exactly what part you are looking to change though, could you point it out please?

    Best regards,
    Rikard

    #805900

    Hi, yes, I´ts in the screenshot I´m sending you.
    Thanks

    #806056

    Hi,

    Thanks for that, you have all the text wrapped in a strong tag, could you try removing that please?

    Best regards,
    Rikard

    #806307

    Hi, sorry, I´ve removed all strong tags, and it´s the same.
    I´m sending you a screenshot.
    Or are you referring to something else?

    Thanks

    #806695

    Hi,

    Ok, thanks for the feedback. Why do you need the span tag? If you want to set the colour you can do so in the h3 tag, for instance:

    <h3 style="font-size:18px; color:#112233;">Your text</h3>

    Best regards,
    Rikard

    #806809

    Hi, ok, that span tag is set by default, I haven´t added.
    Nevertheless I don´t see much difference in the result. Now the font is a bit smaller.
    And there´s no font-weight 100.
    Thanks.

    #806887

    Hi,

    Ok, thanks for that. The text you want to change is using another font than Raleway though, it’s using Allerta, did you import the thin version of that?

    Best regards,
    Rikard

    • This reply was modified 7 years, 5 months ago by Rikard.
    #806902

    Hi, could you tell me where do you see that I´m using Allerta? I´ve set up Raleway in Advanced styling. (screenshot)
    Thanks

    #807243

    Hi,

    You have this in your child theme’s CSS file, please try to remove it:

    #top #wrap_all .all_colors h3, #top #wrap_all .all_colors h4, #top #wrap_all .all_colors h5, #top #wrap_all .all_colors h6 {
        font-family: 'Allerta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-weight: lighter;
        text-transform: none;
    }

    Best regards,
    Rikard

    #807327

    Oh, sorry, this is very strange.
    I see what you say in my browser inspecting mode, but I haven´t that stlyle in my child theme´s CSS file.
    I don´t know where is that stlyle indeed?

    Thanks

    #807753

    Hi,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #807916

    Yes, I´m sending it to you.

    Thanks!

    • This reply was modified 7 years, 5 months ago by cipriana.
    #808186

    Ok, I don´t know if you´ve done it or I´ve done it.
    But it´s solved.
    Thank you very much!

    #808226

    Hi,

    Glad that it’s fixed and thanks for using Enfold :)

    Best regards,
    Nikko

    #808509

    You´re welcome!

    #808565

    Hi,

    Thanks for the feedback. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘transform text weight’ is closed to new replies.