From 73c69896ced5a2a728fdcd7458561ca1cf7ba504 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Sat, 8 Nov 2025 10:25:32 -0600 Subject: [PATCH] =?UTF-8?q?CR=C3=8DTICO:=20Corregir=20carga=20de=20CSS=20y?= =?UTF-8?q?=20estilos=20faltantes=20-=20Issue=20#128?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit El CSS del tema NO se estaba cargando porque functions.php apuntaba al style.css raíz (que solo tiene headers de WordPress) en vez del archivo real en assets/css/style.css. Cambios realizados: 1. functions.php: Cambiar get_stylesheet_uri() a ruta correcta - Ahora carga assets/css/style.css con todos los estilos del tema - Esto activa los estilos de footer (bg-dark override, colores, etc) 2. style.css: Agregar estilos faltantes de .contact-info - .contact-info i { color: var(--color-orange-primary); } - .contact-info h6 { font-weight: 400; } para labels normales Esto corrige: - Footer con fondo gris claro → Ahora fondo negro oscuro correcto - Labels de contacto en bold → Ahora peso normal como template - Icons de contacto sin color → Ahora color naranja correcto Referencia: Template líneas 991-1025 (footer y contact-info CSS) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- wp-content/themes/apus-theme/assets/css/style.css | 10 ++++++++++ wp-content/themes/apus-theme/functions.php | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/apus-theme/assets/css/style.css b/wp-content/themes/apus-theme/assets/css/style.css index c7d911bf..49091098 100644 --- a/wp-content/themes/apus-theme/assets/css/style.css +++ b/wp-content/themes/apus-theme/assets/css/style.css @@ -1263,3 +1263,13 @@ footer .btn-primary:hover { background-color: var(--color-orange-hover); border-color: var(--color-orange-hover); } + +/* Contact Info Styles */ + +.contact-info i { + color: var(--color-orange-primary); +} + +.contact-info h6 { + font-weight: 400; +} diff --git a/wp-content/themes/apus-theme/functions.php b/wp-content/themes/apus-theme/functions.php index 41691b47..fb1dde07 100644 --- a/wp-content/themes/apus-theme/functions.php +++ b/wp-content/themes/apus-theme/functions.php @@ -69,10 +69,10 @@ add_action('after_setup_theme', 'apus_content_width', 0); * Enqueue Scripts and Styles */ function apus_enqueue_scripts() { - // Main stylesheet + // Main stylesheet (actual CSS file) wp_enqueue_style( 'apus-theme-style', - get_stylesheet_uri(), + get_template_directory_uri() . '/assets/css/style.css', array(), APUS_VERSION );