CRÍTICO: Cargar Poppins y eliminar overrides Bootstrap - Issue #125
PROBLEMA: - Template usa Poppins (font-weight: 500 para h6) - Staging usaba system fonts (Avenir, Montserrat) - fonts.css sobrescribía Bootstrap con font-weight: 600 CAMBIOS: 1. Agregado Google Fonts Poppins en enqueue-scripts.php 2. Eliminados estilos globales h1-h6 de fonts.css 3. Actualizadas variables CSS a Poppins por defecto 4. Eliminados estilos h1-h6 de media queries RESULTADO: - Font-family ahora es Poppins, sans-serif - Font-weight h6 usa Bootstrap default (500) - 100% match con template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -15,10 +15,20 @@ if (!defined('ABSPATH')) {
|
||||
* Enqueue typography system
|
||||
*/
|
||||
function apus_enqueue_fonts() {
|
||||
// Google Fonts - Poppins (según documentación INTRODUCCION.md)
|
||||
wp_enqueue_style(
|
||||
'google-fonts-poppins',
|
||||
'https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap',
|
||||
array(),
|
||||
null,
|
||||
'all'
|
||||
);
|
||||
|
||||
// Fonts CSS local
|
||||
wp_enqueue_style(
|
||||
'apus-fonts',
|
||||
get_template_directory_uri() . '/assets/css/fonts.css',
|
||||
array(),
|
||||
array('google-fonts-poppins'),
|
||||
'1.0.0',
|
||||
'all'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user