Location: site_wide_header
Untitled Snippet (copy)
Untitled Snippet
Determinar altura del header (copy)
jQuery(window).on(‘elementor/frontend/init’, function() { // Elementor tiene su propio evento de carga de componentes jQuery(window).on(‘load’, function() { function updateHeaderHeight() { // Seleccionamos el header const $header = jQuery(‘header, .elementor-location-header’); const $body = jQuery(‘body’); if ($header.length) { let headerHeight = 0; if…Continue reading
SurveyVista – Styles
/* Modal Backdrop */ .modal { display: none; position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0, 0, 0, 0.6); } /* Modal Box Centered */ .modal-content { position: fixed; top: 50%; left:…Continue reading
Determinar altura del header
jQuery(window).on(‘elementor/frontend/init’, function() { // Elementor tiene su propio evento de carga de componentes jQuery(window).on(‘load’, function() { function updateHeaderHeight() { // Seleccionamos el header const $header = jQuery(‘.elementor-location-header .elementor-sticky’); const $body = jQuery(‘body’); if ($header.length) { let headerHeight = 0; if…Continue reading
Untitled Snippet
/* Hebrew Fonts Import */ @import url(‘https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800&family=Frank+Ruhl+Libre:wght@300;400;500;700;900&display=swap’); /* Approach Section Styles */ .approach-section { direction: rtl; text-align: right; } /* Fonts */ .font-assistant { font-family: ‘Assistant’, sans-serif; } .font-frank { font-family: ‘Frank Ruhl Libre’, serif; } .font-mono { font-family: ‘Courier…Continue reading
Hide AMEX Logo
/* Custom CSS to hide the Amex logo using clip-path (Option 2) */ body #wfacp-e-form .wfacp_main_form.woocommerce #payment ul.payment_methods li label img[src*=”scheme.svg”] { /* clip-path: inset(top right bottom left); */ /* This clips 0px from top/bottom/left, and 34px from the right.…Continue reading
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
.wp-caption .wp-caption-text { display: none; } .content-area { margin-top: 0rem; margin-bottom: 0rem; }/ * All Mobile Sizes (devices and browser) */ @media only screen and (max-width: 767px) { .content-area { margin-top: 5rem; margin-bottom: 5rem; } }/* END MEDIA QUERY*/ .cd-theme…Continue reading