Copy Current Link

document.addEventListener(‘click’, function (e) { const btn = e.target.closest(‘a.copy-post-url’); if (!btn) return; e.preventDefault(); const url = btn.href; if (!url) return; navigator.clipboard.writeText(url).then(() => { const original = btn.textContent; btn.textContent = ‘Link copied’; setTimeout(() => (btn.textContent = original), 1500); }); });Continue reading

POST FIX CSS

.geo-search-input-wrapper { padding: 8px 0px!important; } .geo-search-submit { border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; } .geo-kadence-combined-search{ background: #f3f4f6; border: 1px solid rgb(229, 231, 235); border-radius: 8px; padding: 0px; } .content-area { margin-top: 20px; margin-bottom: 0px; } /* All Mobile Sizes (devices and…Continue reading

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