const sliderButton = document.querySelectorAll('.fuh-slider a.primary-color'); sliderButton.forEach((oldLink) => { const newLink = document.createElement('a'); newLink.className = 'nectar-button large regular has-icon wpb_animate_when_almost_visible wpb_fadeInDown fadeInDown regular-button animated'; newLink.setAttribute('role', 'button'); newLink.setAttribute('href', '#'); newLink.setAttribute('style', 'color: rgb(24, 125, 192); background-color: rgb(255, 255, 255); visibility: visible;'); newLink.setAttribute('data-color-override', '#ffffff'); newLink.setAttribute('data-hover-color-override', 'false'); newLink.setAttribute('data-hover-text-color-override', '#fff'); const span = document.createElement('span'); span.textContent = 'mehr erfahren'; const icon = document.createElement('i'); icon.className = 'icon-button-arrow'; icon.setAttribute('style', 'color: #187dc0;'); newLink.appendChild(span); newLink.appendChild(icon); oldLink.replaceWith(newLink); }); Skip to main content
Tag

Notinsel