Components
53
Accordion Items Animated Gallery Basic Hero Basic Map Case Studies Feed Case Studies Hero Case Study Hero Case Study Slider Column Content Content Grid Content Image Content Slider Cta Cta Blocks Embed Block Enriched Accordion Error Event Feed Example Features Slider Full Width Image Hero Full Width Media Image And Form Image Content Image Split Content Image Stats Logo Slider Map Post Feed Pricing Publications Feed Simple Accordion Simple Header Simple Hero Solutions Animated Block Split Content Split Content Carousel Split Content Content Split Content Post Split Content Pricing Split Content Video Split Image Hero Stats Slider Team Carousel Team Hero Team Listing Testimonial Case Study Timeline Trivia Bar Two Column Rich Text Vacancies Table Video Video Expand

Simple Hero

View example

Leading Sustainability Training Programmes

Enhance your sustainability expertise with our comprehensive training solutions for employees and corporates

There are no ACF fields assigned to this component.

				
@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";

.block-simple-hero {
	padding-top: clamp(40px, 8vw, 140px);
	padding-bottom: clamp(40px, 8vw, 140px);
	background: $grey-4;
	border-radius: 0 0 32px 32px;
	height: auto;
	display: flex;
	align-items: center;

	@include bp($md){
		border-radius: 0 0 52px 52px;
	}

	&__row{
		padding: 2rem 0;

		@include bp($md){
			padding: 4rem 0;
		}
	}

	&__heading{
		color: var(--text-color) !important;
	}

	&__content{
		p{
			@include fluid-type(18, 22);
		}
	}

	&__cta{
		.btn{
			/* color: var(--text-color) !important; */
			@include fluid-type(16, 20);

			@include bp($lg){
				padding: 20px 30px;

				&.btn--hollow{
					&::after{
						width: 3.8125rem;
						height: 3.8125rem;
					}
				}
			}
		}
	}

}

.global__breadcrumbs{
	background: $grey-4;
}
There are is no JavaScript file with this component.
{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "strategiq/simple-hero",
    "title": "Simple Hero",
    "description": "Example block to be used as a template",
    "category": "strategiq",
    "icon": "strategiq",
    "acf": {
        "mode": "preview",
        "renderTemplate": "block-simple-hero.php"
    },
    "supports": {
        "anchor": true,
        "align": false,
        "color": {
            "background": false,
            "text": false,
            "gradients": false
        },
        "spacing": {
            "padding": [
                "top",
                "bottom"
            ],
            "margin": [
                "top",
                "bottom"
            ]
        }
    },
    "example": {
        "attributes": {
            "mode": "preview",
            "data": {
                "heading_type": "h2",
                "heading_text": "Example - Example",
                "content": "This is some example content to represent what the content will look like"
            }
        }
    },
    "style": "file:../../assets/css/simple-hero/block-simple-hero.css"
}
Page Title
Page Type
Page URL
There are is no readme file with this component.