Components
41
Accordion Block Benifits Grid Block 404 Card Stack Careers Grid Case Study Carousel Case Study Hero Content Columns Content Image Content Image Accordion Content Video Cta Block Example Featured Blog Hero Featured Resource Hero Form Cta Form Hero Full Width Image Homepage Hero Hover List Image Hero Image Mask Image Testimonial Carousel Industry Insights Latest News List Columns Logo Scroller Map Block Post Feed Resource Grid Split Hero Split Text Statement Statistics Row Team Filter Team Grid Testimonial Carousel Testimonial Carousel Text Highlight Tools Grid Two Column List

Featured Blog Hero

View example
There are no ACF fields assigned to this component.

				
@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";
@import "../../resources/scss/vendor/bootstrap/vendor/rfs";

.block-featured-blog-hero {
	padding: rem-calc(8);

	&__breadcrumbs {
		position: relative;
		z-index: 2;
		width: 100%;
		padding-top: rem-calc(100);
		padding-left: rem-calc(14);
		margin-bottom: rem-calc(20);

		@include bp($lg) {
			padding-top: rem-calc(40);
			padding-left: rem-calc(30);
			margin-bottom: 0;
		}
	}

	&__date {
		margin-bottom: rem-calc(10);

		p {
			font-size: rem-calc(16);
		}
	}

	&__heading {
		display: inline;
	}

	&__buttons {
		display: inline-flex;
		vertical-align: text-bottom;
		gap: rem-calc(8);
		flex-wrap: wrap;
		margin-top: rem-calc(8);
	}

	&__content-container {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	&__content {
		display: flex;
		flex-direction: column;
		flex-grow: 1;
		justify-content: space-between;
		padding: clamp(rem-calc(12), 3vw, rem-calc(90));
		gap: rem-calc(70);
		margin-bottom: rem-calc(50);

		@include bp($lg) {
			margin-bottom: 0;
		}
	}

	&__heading {

		@include bp($lg) {
			font-size: clamp(rem-calc(40), 4vw, rem-calc(84));
		}
	}

	&__image {
		width: 100%;
		aspect-ratio: 1/1;
		background-color: $black;
		border-radius: rem-calc(20);
		overflow: hidden;
		position: relative;
		height: 100%;

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
	}

	.rank-math-breadcrumb {
		padding-top: 0;
		// padding-left: clamp(rem-calc(20), 2vw, rem-calc(30));
		width: 100%;

		@include bp($xl) {
			width: 40%;
		}

		.separator {
			padding-left: clamp(rem-calc(10), 2vw, rem-calc(14));
			padding-right: clamp(rem-calc(10), 2vw, rem-calc(14));
		}

		a {
			text-underline-offset: rem-calc(2);
		}

		p {
			font-size: clamp(rem-calc(14), 2vw, rem-calc(16));
			margin-bottom: 0;
			width: 100%;
			text-overflow: ellipsis;
			overflow: hidden;
			white-space: nowrap;
		}
	}

}
{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "strategiq/featured-blog-hero",
    "title": "Featured blog hero",
    "description": "Featured blog hero block",
    "category": "strategiq",
    "icon": "strategiq",
    "acf": {
        "mode": "edit",
        "renderTemplate": "block-featured-blog-hero.php"
    },
    "supports": {
        "anchor": true,
        "align": false,
		"mode": false,
        "color": {
            "background": true,
            "text": false,
            "gradients": true
        },
        "spacing": {
            "margin": [
                "top",
                "bottom"
            ]
        }
    },
    "style": "file:../../assets/css/featured-blog-hero/block-featured-blog-hero.css"
}
Page Title
Page Type
Page URL
There are is no readme file with this component.