Components
31
Background Gradients Blog Post Bullet Left Card Stack Case Study Large Case Study Single Contact Form Cta Demo Faqs Header Resources Homepage Hero Homepage Stats Illustration Left Illustration Right Image Left Image Right Impact Carousel Landing Form Landing Form Landing Form Logo Carousel Logos Software Logo Tab Blocks Table Testimonial Three Blocks Two Column Usp Carousel Video

Header Resources

DPD Pickup is now powered by HubBox software

04 January 2022
Hub Box

HubBox is now the software partner for DPD Pickup, a great leap forward in our mission to broaden the availability of local pickup for shoppers across the UK.

2 min read

Field
Field Type
Field Name
Instructions
Block Data
tab
Resource
post_object
resource
Block Meta
tab
ID
text
block_id
Block Classes
text
block_classes
Background Colors
select
background_colors
Width
button_group
background_colors_width
Padding Top
select
padding_top
Padding Bottom
select
padding_bottom
Margin Top
select
margin_top
Margin Bottom
select
margin_bottom

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

.block-header-resources {
    position: relative;
    @include padding(rem-calc(2.5rem 0rem 2.5rem));

    &__text-wrapper {
        @include padding-left(rem-calc(4.375rem));

        @media screen and (max-width: 1499px) {
            padding-left: 0;
        }

        h1 {
            max-width: 95%;
            @include bp($lg, true) {
                max-width: 100%;
            }
        }

        .heading {
            max-width: 95%;
            font-weight: 700;
            color: $secondary;
            @include fluid-type(32, 70, 375, $max-container-size);
            line-height: 100%;
            @include margin-bottom(rem-calc(16));

            @include bp($lg, true) {
                max-width: 100%;
            }
        }

        p {
            font-weight: 400;
            @include margin-bottom(rem-calc(3.125rem));
            max-width: 85%;
            @media screen and (max-width: 1499px) {
                max-width: 100%;
            }
        }
    }

    &__image-wrapper {
        position: relative;

        picture {
            img {
                border-radius: 20px;
            }
        }
    }

    &__image-wrapper-label {
        position: absolute;
        top: 1.25rem;
        left: 1.25rem;
        background-color: $white;
        border-radius: 0.625rem;
        @include padding(rem-calc(0.25rem 1.188rem));

        p {
            color: $secondary;
            margin: 0;
        }
    }
}
There are is no JavaScript file with this component.
Page Title
Page Type
Page URL
There are is no readme file with this component.