Notifications – Color Variables

/** * Notifications – Color Variables * * Reads notification color settings from the JetEngine * Site Features options page and outputs CSS variables. * * JetEngine Options Page: * – Storage: Default as array * * Expected field keys:…Continue reading

Notifications – Styles

/* ========================================== Notification Panel Desktop: shrunken page + right-side panel Tablet/Mobile: full-screen off-canvas panel ========================================== */ /* Main site wrapper */ .notification-page-wrap { position: relative; z-index: 2; transition: transform 0.45s ease; transform-origin: left center; } /* Open state: shrunken page…Continue reading

VC Reveal — Global CSS ── Version: 1.0.0

/* *VC Reveal — Global CSS * Version: 1.0.0 * * ── WHERE TO ADD THIS ────────────────────────────────────────────────────── * * Oxygen Builder → Manage → Settings → Custom CSS (preferred) * OR a WPCode CSS snippet set to inject in *…Continue reading

Mark current link including parent

// Target only main navigation const mainNav = document.querySelector(‘#menu-main-menu’); if (mainNav) { const currentPath = window.location.pathname; mainNav.querySelectorAll(‘a’).forEach(link => { const linkPath = new URL(link.href).pathname; // Exact match – current page if (linkPath === currentPath) { link.classList.add(‘active’); link.parentElement.classList.add(‘current-menu-item’); // Add to…Continue reading

Untitled Snippet

CV. ABIMACHINARY — Bengkel Maintenance & Mesin UMKM, Perkebunan & Pertanian Beranda Tentang Kami Layanan Produk Hubungi Kami Konsultasi CV. ABIMACHINARY — MALANG, JAWA TIMUR BENGKEL MAINTENANCE& READY MESIN UMKM, Perkebunan & Pertanian Kami melayani perbaikan dan perawatan mesin produksi,…Continue reading

GA4 Custom Event Tracking

/** * GA4 Custom Event Tracking * Tracks lead method, service type, page type, neighborhood, ZIP code, link text, and link URL. */ (function() { function getServiceType() { const path = window.location.pathname.toLowerCase(); if (path.includes(‘tv-mounting’)) return ‘tv-mounting’; if (path.includes(‘mirror-mounting’)) return ‘mirror-mounting’;…Continue reading