Skip to content
Illuminated Signs
(function() {
function convertToH1() {
var title = document.querySelector('h2.portfolio_page_title, .portfolio_page_title');
if (title && title.tagName !== 'H1') {
var h1 = document.createElement('h1');
h1.innerHTML = title.innerHTML;
h1.className = title.className;
var computedStyle = window.getComputedStyle(title);
h1.style.cssText = computedStyle.cssText;
title.parentNode.replaceChild(h1, title);
console.log('Title converted to H1 successfully!');
}
}
document.addEventListener('DOMContentLoaded', convertToH1);
setTimeout(convertToH1, 1000);
var observer = new MutationObserver(convertToH1);
observer.observe(document.body, { childList: true, subtree: true });
})();