Fix share buttons: Seguir documentación CSS-ESPECIFICO.md
PROBLEMA: - social-share.css se estaba cargando con CSS adicional no documentado - custom-style.css tenía reglas duplicadas - Múltiples archivos CSS causaban conflictos SOLUCIÓN: - Deshabilitado enqueue de social-share.css en enqueue-scripts.php - Eliminado CSS duplicado de custom-style.css - Mantener SOLO las 2 reglas en style.css según documentación Archivos modificados: - inc/enqueue-scripts.php (deshabilitado líneas 398-416) - assets/css/custom-style.css (eliminado líneas 659-666) Según: theme-documentation/13-componente-share-buttons/CSS-ESPECIFICO.md Solo debe haber 2 reglas CSS + Bootstrap outline classes Fixes #124 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,16 @@
|
|||||||
"permissions": {
|
"permissions": {
|
||||||
"allow": [
|
"allow": [
|
||||||
"Bash(\"/c/Program Files/GitHub CLI/gh.exe\" issue close:*)",
|
"Bash(\"/c/Program Files/GitHub CLI/gh.exe\" issue close:*)",
|
||||||
"Bash(git -C \"D:\\_Desarrollo\\02AnalisisDePreciosUnitarios\\analisisdepreciosunitarios.com\" diff --stat)"
|
"Bash(git -C \"D:\\_Desarrollo\\02AnalisisDePreciosUnitarios\\analisisdepreciosunitarios.com\" diff --stat)",
|
||||||
|
"Bash(ssh VPSContabo:*)",
|
||||||
|
"mcp__github__add_issue_comment",
|
||||||
|
"mcp__github__issue_write",
|
||||||
|
"mcp__github__list_issues",
|
||||||
|
"mcp__github__get_me",
|
||||||
|
"mcp__github__search_repositories",
|
||||||
|
"WebFetch(domain:stag.analisisdepreciosunitarios.com)",
|
||||||
|
"Bash(curl:*)",
|
||||||
|
"Bash(grep:*)"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
|||||||
@@ -654,17 +654,11 @@ body {
|
|||||||
|
|
||||||
/* ========================================
|
/* ========================================
|
||||||
SHARE BUTTONS
|
SHARE BUTTONS
|
||||||
|
========================================
|
||||||
|
ELIMINADO: CSS movido a style.css según documentación
|
||||||
|
Ver: theme-documentation/13-componente-share-buttons/CSS-ESPECIFICO.md
|
||||||
======================================== */
|
======================================== */
|
||||||
|
|
||||||
.share-buttons .btn {
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
border-width: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.share-buttons .btn:hover {
|
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ========================================
|
/* ========================================
|
||||||
VIDEO IFRAME STYLING
|
VIDEO IFRAME STYLING
|
||||||
======================================== */
|
======================================== */
|
||||||
|
|||||||
@@ -391,7 +391,11 @@ add_action('wp_enqueue_scripts', 'apus_enqueue_theme_styles', 13);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Enqueue social share styles
|
* Enqueue social share styles
|
||||||
|
*
|
||||||
|
* DESHABILITADO: CSS de share buttons debe estar SOLO en style.css
|
||||||
|
* Ver documentación: theme-documentation/13-componente-share-buttons/CSS-ESPECIFICO.md
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
function apus_enqueue_social_share_styles() {
|
function apus_enqueue_social_share_styles() {
|
||||||
// Only enqueue on single posts
|
// Only enqueue on single posts
|
||||||
if (!is_single()) {
|
if (!is_single()) {
|
||||||
@@ -409,6 +413,7 @@ function apus_enqueue_social_share_styles() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
add_action('wp_enqueue_scripts', 'apus_enqueue_social_share_styles', 14);
|
add_action('wp_enqueue_scripts', 'apus_enqueue_social_share_styles', 14);
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enqueue APU Tables styles
|
* Enqueue APU Tables styles
|
||||||
|
|||||||
Reference in New Issue
Block a user