COMMUNITY FAMILY WORSHIP CENTER
A PLACE TO BELONG.
Experience God. Find Community. Grow Together.
/* CFWC HOMEPAGE LAYOUT FIXES */
/* Remove default homepage title */
.home .wp-block-post-title {
display: none !important;
}
/* Remove spacing around homepage content */
.home main {
margin-top: 0 !important;
padding-top: 0 !important;
}
.home .wp-block-post-content {
margin-top: 0 !important;
padding-top: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
/* Full-width video cover */
.cfwc-hero {
width: 100vw !important;
max-width: 100vw !important;
margin-left: calc(50% – 50vw) !important;
margin-right: calc(50% – 50vw) !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
min-height: 90vh !important;
}
/* Remove horizontal overflow */
body {
overflow-x: clip;
}
/* Reduce header height */
header.wp-block-template-part {
padding-top: 0 !important;
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}
header.wp-block-template-part > .wp-block-group {
padding-top: 20px !important;
padding-bottom: 20px !important;
}
/* Remove spacing between header and main */
.home .wp-site-blocks > main {
margin-block-start: 0 !important;
}
/* Improve homepage title typography */
.cfwc-hero h1 {
font-size: clamp(48px, 8vw, 125px);
font-weight: 900;
letter-spacing: -3px;
line-height: 0.95;
}
/* Church name above main heading */
.cfwc-hero p:first-child {
font-size: 13px;
letter-spacing: 3px;
font-weight: 600;
text-transform: uppercase;
}
/* Square button design */
.cfwc-hero .wp-block-button__link {
border-radius: 0 !important;
}
/* Mobile adjustments */
@media (max-width: 768px) {
.cfwc-hero h1 {
font-size: 48px;
letter-spacing: -1px;
}
.cfwc-hero {
min-height: 85vh !important;
}
}