- This topic has 5 replies, 2 voices, and was last updated 1 year, 7 months ago by
Leo.
-
AuthorPosts
-
November 13, 2020 at 3:45 pm #1530442
jmpefe78gmail-com
Hola, subí la fuente futura y metí el codigo CSS que recomendáis y en personalizar>tipografías me sale esa nueva tipografía subida y la selecciono. El problema es que no se refleja en los artículos del blog y en el menú cuando estoy dentro de cualquier artículo del blog ( ejemplo:https://nachomunoz.es/cualidades-del-emprendedor/)
En el resto de la web no hay problema ya que está creada con Elementor pero en los artículos del blog no aparece esa fuente futura.
GraciasNovember 14, 2020 at 10:26 am #1531333Leo
StaffCustomer SupportHi there,
Just to confirm, you’ve done every step here?
https://docs.generatepress.com/article/adding-local-fonts/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 14, 2020 at 11:10 am #1531368jmpefe78gmail-com
Yo he añadido estoal funtions.php como también explicais en otro tutoria:
add_filter( ‘generate_typography_default_fonts’,’tu_add_system_fonts’ );
function tu_add_system_fonts( $fonts ) {
$fonts[] = ‘Futura Extrabold’;
$fonts[] = ‘Futura Demibold’;
$fonts[] = ‘Futura Book’;
return $fonts;
}Y esto en CSS:
@font-face{
font-family: Futura Extrabold;
src: url(‘https://nachomunoz.es/wp-content/uploads/2020/10/futura-pt-extrabold.woff’);
font-weight: normal;
}@font-face{
font-family: Futura Demibold;
src: url(‘https://nachomunoz.es/wp-content/uploads/2020/10/futura-pt-demibold.woff’);
font-weight: normal;
}@font-face{
font-family: Futura Book;
src: url(‘https://nachomunoz.es/wp-content/uploads/2020/10/futura-pt-book.woff’);
font-weight: normal;
}¿Qué ocurre?
November 14, 2020 at 3:45 pm #1531540Leo
StaffCustomer SupportLooks like you might be missing a couple quotation mark on
font-family
and wrong quoataion mark onsrc
. Can you try this instead?@font-face{ font-family: 'Futura Extrabold'; src: url('https://nachomunoz.es/wp-content/uploads/2020/10/futura-pt-extrabold.woff'); font-weight: normal; } @font-face{ font-family: 'Futura Demibold'; src: url('https://nachomunoz.es/wp-content/uploads/2020/10/futura-pt-demibold.woff'); font-weight: normal; } @font-face{ font-family: 'Futura Book'; src: url('https://nachomunoz.es/wp-content/uploads/2020/10/futura-pt-book.woff'); font-weight: normal; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 14, 2020 at 4:14 pm #1531570jmpefe78gmail-com
Arreglado, muchas gracias, se me olvidaron las comillas.
Como siempre genial soporte!!
November 14, 2020 at 4:26 pm #1531577Leo
StaffCustomer SupportNo problem 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.