CSS
Custom ol list icons
ul {
list-style-image: url('https://'); /* Replace with the path to your image */
margin-top: 20px;
}
ul li {
margin-bottom: 10px; /* Adjust the spacing below each list item */
}
When header shrinks, hide the top bar row
/* When header shrinks, hide the top bar row */
.fl-builder-content[data-type="header"].fl-theme-builder-header-shrink .fl-node-NAME {
display: none;
}
Hide Gravity forms required
.gform_required_legend {
display: none !important;
}
Javascript
Open All Outside Links in New Tab
document.addEventListener('DOMContentLoaded', function() {
const siteDomain = window.location.hostname;
const links = document.querySelectorAll('a[href]');
links.forEach(function(link) {
const linkHost = (new URL(link.href)).hostname;
if (linkHost && linkHost !== siteDomain) {
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener noreferrer');
}
});
});