-
AuthorPosts
-
June 6, 2017 at 9:01 am #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.
ThanksJune 7, 2017 at 6:33 pm #805225Hey 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,
VictoriaJune 7, 2017 at 7:04 pm #805238Hi, 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
June 9, 2017 at 8:19 am #805897Hi,
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,
RikardJune 9, 2017 at 8:24 am #805900Hi, yes, I´ts in the screenshot I´m sending you.
ThanksJune 9, 2017 at 2:11 pm #806056Hi,
Thanks for that, you have all the text wrapped in a strong tag, could you try removing that please?
Best regards,
RikardJune 10, 2017 at 1:19 pm #806307Hi, 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
June 12, 2017 at 5:21 am #806695Hi,
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,
RikardJune 12, 2017 at 10:57 am #806809Hi, 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.June 12, 2017 at 2:04 pm #806887Hi,
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, 6 months ago by Rikard.
June 12, 2017 at 2:52 pm #806902Hi, could you tell me where do you see that I´m using Allerta? I´ve set up Raleway in Advanced styling. (screenshot)
ThanksJune 13, 2017 at 6:04 am #807243Hi,
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,
RikardJune 13, 2017 at 10:32 am #807327Oh, 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
June 14, 2017 at 4:34 am #807753Hi,
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,
RikardJune 14, 2017 at 11:35 am #807916June 14, 2017 at 8:06 pm #808186Ok, I don´t know if you´ve done it or I´ve done it.
But it´s solved.
Thank you very much!June 14, 2017 at 9:22 pm #808226Hi,
Glad that it’s fixed and thanks for using Enfold :)
Best regards,
NikkoJune 15, 2017 at 11:05 am #808509You´re welcome!
June 15, 2017 at 1:51 pm #808565 -
AuthorPosts
- The topic ‘transform text weight’ is closed to new replies.