Tagged: x
-
AuthorPosts
-
September 24, 2016 at 12:38 pm #1189205
logogloParticipantHi there, I want to keep the body weight normal, but I want to change just one area of text to be light, I have tried this:
<p style=”text-align: center; color: #ffc000; font-weight: 100; font-size: 28px;”>Calidad y profesionalismo a precios bajos</p>
But it doesnt seam to change on the page.
Thanks.
September 24, 2016 at 7:22 pm #1189377
RadModeratorHi there,
Thanks for writing in.
It’s working on my end. If I remove the font weight, it’s goes bolder. Would you mind providing some screenshot so I can compare it?
Thanks!
September 26, 2016 at 1:44 pm #1191235
logogloParticipantIt changes, but it doesnt go past “regular” weight, I wanted light, so I put in 100, and it doesnt change. Changes from bold to regular if you put in 300, but doesnt change when it goes to 100.
September 26, 2016 at 2:05 pm #1191263
RupokMemberHi there,
Thanks for writing back. There is no such weight as 100 or 300 for the font “Lato” that’s being used. Available weights are 400, 600 and 700 that you can use.
Cheers!
September 26, 2016 at 4:39 pm #1191442
logogloParticipantIn the custom menu, you can select 100 as a weight, see the screengrab.
So if I change it in the custom menu, it changes to light as the heading, therefor you must be able to have it in the subheading as I want it right?
like this:
<p style=”text-align: center; color: #ffc000; font-weight: 100; font-size: 28px;”>Calidad y profesionalismo a precios bajos</p>
But like I said, it doesn’t reflect on the page.
September 26, 2016 at 5:49 pm #1191498
JadeModeratorHi there,
It seems like the 100 weight for Lato font isn’t embedded on the page. Kindly try to add this code in the functions.php file of your child theme:
/** * Enqueue font. */ add_action( 'wp_enqueue_scripts', 'load_lato_font' ); function load_lato_font() { wp_enqueue_style( 'lato-google-font', 'https://fonts.googleapis.com/css?family=Lato:100,300,400,700' ); }Hope this helps.
September 26, 2016 at 6:20 pm #1191513
logogloParticipantWorked perfectly! thanks.
September 26, 2016 at 10:34 pm #1191721
FriechModeratorYou’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1189205 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
