fix(css): collapse ad slots initially to prevent layout shift

- Slots start with max-height:0, opacity:0, margin:0 (no visual space)
- Only expand when AdSense confirms filled status
- Use transition for smooth appearance
- Prevents layout shift when unfilled slots are hidden
- Combined with larger rootMargin (1000px) slots are pre-loaded
  before entering viewport, eliminating visible collapse

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-12-10 17:02:29 -06:00
parent 88103a774b
commit a4f63145dd
3 changed files with 48 additions and 25 deletions

View File

@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
}
// Definir constante de versión del tema
define('ROI_VERSION', '1.0.24');
define('ROI_VERSION', '1.0.25');
// =============================================================================
// 1. CARGAR AUTOLOADER MANUAL