Corrección de widgets tipo “slides.default”

(function(jQuery) { ‘use strict’; const fixSlidesClases = function() { if (elementorFrontend && elementorFrontend.hooks) { // Filtramos específicamente por el widget de slides elementorFrontend.hooks.addAction(‘frontend/element_ready/slides.default’, function($scope) { // Buscamos el wrapper que debería tener la clase de swiper // En versiones recientes…Continue reading

CSS Grid System for Divi or Elementor

:root { –reflex-columns: 12; –reflex-grid-spacing: 15px; –reflex-xs: 576px; –reflex-sm: 768px; –reflex-md: 992px; –reflex-lg: 1200px; –reflex-xlg: 1600px; –reflex-xxs-max: 575px; –reflex-xs-max: 767px; –reflex-sm-max: 991px; –reflex-md-max: 1199px; –reflex-lg-max: 1599px; /* Base spacing scale */ –space-0: 0; –space-1: 0.25rem; –space-2: 0.5rem; –space-3: 1rem; –space-4:…Continue reading

CSS Grid System

:root { –reflex-columns: 12; –reflex-grid-spacing: 15px; –reflex-xs: 576px; –reflex-sm: 768px; –reflex-md: 992px; –reflex-lg: 1200px; –reflex-xlg: 1600px; –reflex-xxs-max: 575px; –reflex-xs-max: 767px; –reflex-sm-max: 991px; –reflex-md-max: 1199px; –reflex-lg-max: 1599px; /* Base spacing scale */ –space-0: 0; –space-1: 0.25rem; –space-2: 0.5rem; –space-3: 1rem; –space-4:…Continue reading

Untitled Snippet

if (is_product()) { // FAQ Schema $faq = get_field(‘product_faq_schema’); if (!empty($faq)) { $test = json_decode($faq); if ($test !== null) { echo ‘‘; } } // HowTo Schema $howto = get_field(‘product_howto_schema’); if (!empty($howto)) { $test = json_decode($howto); if ($test !== null)…Continue reading

Order Confirmation Page

/* Simple order confirmation */ .ag-simple-thankyou{ max-width: 800px; margin: 0 auto; padding: 80px 20px; text-align: center; } .ag-simple-thankyou .ag-ty-line{ font-size: 20px; line-height: 1.6; margin: 0 0 12px; color: #111; } .ag-simple-thankyou a{ text-decoration: underline; font-weight: 600; color: inherit; } /*…Continue reading

Address Book.js

jQuery(function($){ const P = window.addressBookParams; if (!P) return; const $modal = $(‘#address_modal’).appendTo(‘body’), $grid = $(‘#address_book_grid’), $form = $(‘#address_form’), $header = $(‘.address-book-header’), $title = $(‘#modal_title’); function refresh(html){ $(‘.address-error-bar’).remove(); $grid.html(html); } function showError(msg){ $(‘.address-error-bar’).remove(); const $bar = $(` ${msg} `); $header.after($bar); }…Continue reading

Custom Checkout.css

.readonly-field { background:#f2f2f2 !important; color:#666 !important; } /* ======================================== CHECKOUT BREADCRUMBS — Exact Styling Fix ======================================== */ .checkout-header h1 { font-size: 24px !important; } .checkout-header { font-size: 14px !important; } body.woocommerce-checkout .checkout-breadcrumb { display: flex; align-items: center; margin-bottom: 2rem; font-size:…Continue reading