一般建築お問い合わせ Custom SCSS

/* ASJ contact-form styling — matches Classical/red-accent confirmation email & page */ /* Gravity Forms selectors */ /* Page title above the form */ h2, h3 { font-family: Georgia, ‘Times New Roman’, serif !important; color: #221f1e !important; font-weight: 600 !important;…Continue reading

Insert Title Into Page Banner

jQuery(document).ready(function($) { var $titleSource = $(‘.banner-overlay-title’).first(); if ($titleSource.length && $(‘.innerbanner’).length) { $(‘.innerbanner’).html(‘ ‘ + $titleSource.html() + ‘ ‘); $titleSource.hide(); } });Continue reading

compeer-global-stylesheet

/* Global */ body { font-size: 18px; line-height: 26px; } .btn-primary { display: inline-block; background-color: #2384c7; color: #ffffff; font-size: 14px; font-weight: 700; text-decoration: none; padding: 12px 28px; border-radius: 4px; letter-spacing: 1px; text-transform: uppercase; transition: background-color 0.2s ease, transform 0.1s ease;…Continue reading

Podcast RSS Feed CSS

body.search-results .innerbanner, body.single-podcast .innerbanner { background-image: none !important; display: none; } .uvri-podcast { font-family: inherit; } .uvri-tab-nav { display: flex; gap: 4px; border-bottom: 2px solid #2a448b; margin-bottom: 20px; flex-wrap: wrap; } .uvri-tab-btn { background: none; border: none; border-bottom: 3px solid…Continue reading

Wrap Phone Number As Link

jQuery(document).ready(function($) { var $phone = $(‘.header-phone’); if ($phone.length) { var digits = $phone.text().replace(/\D/g, ”); var html = $phone.html(); $phone.html(‘‘ + html + ‘‘); } });Continue reading

Fallback – Compeer Global CSS No Nesting

body { font-size: 18px; line-height: 26px; } .btn-primary { color: #fff; letter-spacing: 1px; text-transform: uppercase; background-color: #2384c7; border-radius: 4px; padding: 12px 28px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .2s, transform .1s; display: inline-block; } .btn-primary:hover { color: #fff;…Continue reading

Resize IFrame Child JavaScript

(function(window, undefined) { const document = window.document, parent = window.parent; // Inside iframe content function resizeIframe() { if(!document.body) return; // Get the actual content height const contentHeight = Math.max( document.body.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight, document.documentElement.scrollHeight, document.documentElement.offsetHeight ); // Tell parent window the…Continue reading