Minusmarg for anker og meny

document.addEventListener(“DOMContentLoaded”, function () { const offset = 100; // juster til ønsket avstand const anchorLinks = document.querySelectorAll(“a[href^=’#’]”); anchorLinks.forEach(link => { link.addEventListener(“click”, function (e) { const targetID = this.getAttribute(“href”).substring(1); const targetElement = document.getElementById(targetID); if (targetElement) { e.preventDefault(); const elementPosition = targetElement.getBoundingClientRect().top…Continue reading

Outseta Load Account Data

window.addEventListener(“DOMContentLoaded”, function () { console.log(“ACCOUNT LOADED”); const visitLink = document.getElementById(“visit_link”); if (!visitLink) { console.error(“#visit_link element not found.”); return; } let deployTriggered = false; // Define triggerDeploy globally so it can be called from onclick window.triggerDeploy = function() { if (deployTriggered)…Continue reading

HIDE VIEW COUNT css

.ultp-post-view.ultp-block-meta-element { display: none !important; } .ultp-builder-content p { text-transform:none!important; line-height: 1.5; }Continue reading