-
AuthorPosts
-
January 6, 2015 at 10:21 am #375551
Hi Kriesi,
I hope you can help
I have developed a slideshow and want some of the words to appear bold, I have achieved this in the Layerslider Preview but when it is viewed on the website it un bolds the text ?
e.g. First slide = GIVE UP SMOKING THE EASY WAY.
note: the tag makes the font the theme colour Red so I have used the code:
GIVE UP SMOKING <span style=”color: #ffffff; font-weight: bold;”>THE EASY WAY</span>January 6, 2015 at 6:37 pm #375773Hey exposuredp!
Thanks for using Enfold.
It’s displaying bold on my end though it’s not very noticeable. I see it being applied in your CSS. I would consider changing the bolded font to something more noticeable or change it’s color as well.
Good job on your site, it’s looking nice.
Regards,
ElliottJanuary 7, 2015 at 1:58 am #375953Hi Elliott
I can also see it is very slightly bolded but the client has approved it being white and around a Raleway 800 weight. It looks great in the LayerSlider Preview ?
Is there a way to get it going from a Raleway 300 weight to the 800 weight ?
Thanks Brett
January 7, 2015 at 7:47 pm #376374Hey!
Please see this post and add new weight – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
Best regards,
YigitJanuary 8, 2015 at 3:03 am #376598Hi Yigit,
Little confused if I have done this correct as I see no change ? Should I have to do anything additionally to see the fonts within the slideshow the bolder weight ?
I added the code to the bottom of the page within the editor:
Theme Functions
(functions.php)
———————————
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Raleway’] = ‘Raleway:300,400,700,,800,300italic,400italic’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{$fonts[‘Raleway’] = ‘Raleway:300,400,700,800,300italic,400italic’;
return $fonts;
}
———————————————–
I don’t see Raleway in the fonts dropdown within the list of Google fontsThanks for your help
January 8, 2015 at 9:28 pm #377094Hi!
I think you have to reload your page and save your options again for it to work. Raleway does not have italics so I removed those from your line and then saved your settings again and it’s working fine now.
Best regards,
ElliottJanuary 9, 2015 at 2:18 am #377167Awesome – thanks for that !
I have one last request – I’m having difficult getting the navigation to show the active/selected page font colour as black.
Is this possible? If so, whats the code?January 9, 2015 at 9:22 am #377264 -
AuthorPosts
- You must be logged in to reply to this topic.