Hi, so I’ve pieced bits together from around the forum and am half way there…
I’m trying to change the font for the testimonial name into a signature like script font
I found this on a post and pasted it into functions.php
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Allura’] = ‘Allura’;
return $fonts;
}
add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Allura’] = ‘Allura’;
return $fonts;
}
and this adds the Allura font to my drop down menus, and it works to be able to change the body/header texts to Allura.
So then I posted this into the Quick CSS
.avia-testimonial-meta-mini * {
font-family: Allura !important;
}
which doesn’t work. It works (changes the testimonial name font) if I substitute Allura for any of the original fonts, but not with the new one…
Ideas?
Hey victoria!
We will surely help you do this.
To change the font it can be done only using CSS please undo all other changes you have made in functions.php
Once you undo the changes please right click on testimonial name and select inspect where you will be able to see the class name used.
Write custom css to change font name for that class name.
For more font optiosn install a plugin like https://wordpress.org/plugins/wp-google-fonts/
If we are able to view your site we can help you better please send us a link to your site.
Best regards,
Vinay