This topic has 7 replies, 3 voices, and was last updated 7 years, 9 months ago ago by Rose Tyler
Hi there I tried to add this code to functions.php , but didnt work.:/
function wpb_add_google_fonts() {
wp_enqueue_style( ‘wpb-google-fonts’, ‘http://fonts.googleapis.com/css?family=Cormorant+Infant&subset=latin-ext’, false );
}
add_action( ‘wp_enqueue_scripts’, ‘wpb_add_google_fonts’ );
Could you help me please how can I add this font into the theme …Classico?
Many thanks,
Iva
Hello,
Please update the theme to the last version.
Before update delete “woocommerce” folder in the directory wp-content/themes/classico/ and it’ll be reuploaded from a new theme package.
Also update all required plugins https://www.8theme.com/download-plugins/ .
Don’t forget to create back up of your files and database before starting update process!
https://www.youtube.com/watch?v=KdWESIIPU1k&feature=youtu.be
(it’s for Legenda theme but the process is the same).
Then try to use your code or change it follow the example:
if(!function_exists('my_theme_styles')) {
function my_theme_styles() {
wp_enqueue_style("my-google-fonts","http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic|Raleway:400,300,500,600,700,800|Cookie&subset=latin,latin-ext");
}
}
add_action( 'wp_enqueue_scripts', 'my_theme_styles', 40);
Regards,
Rose Tyler.
Aw thank you,
but it didn’t help. I cant see it in theme options…maybe I have to hard code it.
Thats fine , also could you please help me with my logo is not showing up on the main page ….?
for some reason…?
Hello,
Please read here how to add custom font http://www.wpbeginner.com/wp-themes/how-add-google-web-fonts-wordpress-themes/ .
As I see you uploaded non-existing image in the page editor http://prntscr.com/ea8j4t .
Remove it and logo from Theme Options will appear.
Best regards,
Jack Richardson.
Oh,
Thank you very much!!!!
Thank you
Iva
Oh so sorry i have one more question… after wordpress update …the back end is not showing any static block but in my theme there is one the footer …but I dont know where tro find it in the back end in wordpress so I can change it .
Many thanks
Iva
Hello,
Footer can be edited in Static Block section. To enable Visual Composer editor for static block go to Visual Composer > Role Manager > Post Types > Custom > tick “static blocks”.
Also, you can go to Appearance > Widgets > add “Static Block” widget from Footer widget area.
If this is not what you want then provide wp-admin access in Private Content so we could check issue.
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up