HubSpot CMS

Feature 1 Module

This Feature module lets you display a text banner while showcasing an image, allowing to add customized colors to background and text. This Content module has text control, link control, images, and color options.

Created by: il-hubspot

Tags: Buttons, Feature block

Unverified
?

After receiving a minimum of 25 recommendations, an entry earns the "Community Approved" badge.

Please keep in mind, all entries are community created and may not be fully supported by HubSpot.

0 Recommendations

View on:

GitHub

HubSpot Marketplace

HTML + HUBL


{{ require_css("//cdn2.hubspot.net/hubfs/346178/designmodo/ui-kit/ui-kit-content/css/ui-kit-styles.css") }}      
<!-- content-3 -->
<section class="content-3 content-3-v2" style="background-color: {{ module.background_color.color }};">
    <div>
        <div class="container">
            <div class="row">
                <div class="col-sm-6 aligment">
                    {{ module.text }}
                </div>
                <div class="col-sm-6">
                    <div class="img">
                    {% if module.image.src %}
                        <img src="{{ module.image.src }}" alt="{{ module.image.alt }}" class="img-responsive">
                    {% endif %}
                    </div>
                </div>
            </div>
        </div>
        <div class="delimiter">&nbsp;</div>
        <div class="container">
            <div class="row features">
                {% set count = 0 %}
                
                {% for feature in module.features %}
                
                {% if count == 0 %}
                <div class="col-sm-3">{{ feature }}</div>
                {% else %}
                <div class="col-sm-3 col-sm-offset-1">{{ feature }}</div>
                {% endif %}
                
                {% if count == 2 %}
                    {% set count = 0 %}
                {% else %}
                    {% set count = count + 1 %}
                {% endif %}
                
                {% endfor %}
            </div>
        </div>
    </div>
</section>

          
        
CSS
          
            @media (min-width: 768px) {
    .content-3-v2 .features > div {
        padding-bottom: 30px;
    }
    
    .content-3-v2 .features > div:nth-of-type(3n + 1) {
        clear: left;
    }
}

          
        
JS
          
            
          
        
Have Questions?

Ask technical questions in Slack.

HubSpot Developer Slack

Not a member yet? - join here
READ ME (VIEW IN GITHUB)

HubSpot

Feature 1

This Feature module lets you display a text banner while showcasing an image, allowing to add customized colors to background and text. This Content module has text control, link control, images, and color options.

Feature 1 module demo can be visited here:

w.inboundlabs.co/feature-1-and-feature-2-demo

Feature 1 module is FREE and is part of the Startup Framework FREE and PAID packages:

https://marketplace.hubspot.com/products/inboundlabs/startup-framework-marketplace

Have Questions?

If you have questions, please email me at github (at) inboundlabs.co


HubSpot

Not developing on HubSpot CMS yet?

We'd love to have you a part of our developer community!

 
0 Recommendations

Other Open Source Projects

Browse all other open source projects

CrankShaft Framework

A modern framework for accelerating build times on the HubSpot CMS. Based on a modified Bootstrap 4 framework.

Lead developers: Jon McLaren

Developer Chrome Extension

Chrome/Chromium extension for HubSpot CMS Developers that adds a developer menu, dark theme and useful shortcuts to commonly used HubSpot query parameters, resources, and tools for making HubSpot Development easier and more enjoyable.

Lead developers: Jon McLaren , William Spiro , Gonzalo Torreras

VS Code HubL Language Extension

This extension enables super fast local development of CMS pages, and is a great compliment to using the new local HubL server. It contains comprehensive HubL tag, function, filter and expression test auto-complete snippets, as well as their documentation.

Lead developers: William Spiro

Not coding on HubSpot CMS yet?

We invite you to explore why thousands of developers LOVE coding with HubSpot!

Contribute
Made with  by community members: InboundLabs.co