CMS Development

gtorres-90
Member

Add image to hero/banner module

I'm trying to add a hero image to my LP banner/hero. I had hubspot setup LPs based on my website but would like to add an image after the fact. 

 

I tried adding to the banner module with no success. Can someone help? 

 

this is the template in use: https://info.appsembler.com/webinar-dos-and-dont-online-software-training

 

Attached is a screenshot of the backend. Screen Shot 2019-05-06 at 11.05.13 AM.png

0 Upvotes
3 Replies 3
Adesignl
Top Contributor | Partner
Top Contributor | Partner

Add image to hero/banner module

Try this

Add an inline background image to the `.banner-area` likre this:

<div class="banner-area" style="background-image: url(https://placeimg.com/1000/480/animals);">
  <div class="page-center">
    <div class="banner-content">
      STUFF IN BANNER
    </div>
  </div>
</div>

Then change the css class .banner-image to read as follows

 

.banner-area {
    background-color: #f6f6f6;
    transition: all .3s ease-in-out;
    position: relative;
    border-bottom: .1rem solid #ddd;
    background-repeat: no-repeat;
    background-size: cover;
}

Keep in mind it will change every page using that template.

 

gtorres-90
Member

Add image to hero/banner module

Actually, I see what you did. 

 

I'd actually like to just add one stand alone image on the right (cover of my ebook, speaker for my webinar) to the Right side of my hero like this example: 

 

Screen Shot 2019-05-06 at 3.43.09 PM.pngScreen Shot 2019-05-06 at 3.43.25 PM.png

 

 

gtorres-90
Member

Add image to hero/banner module

Thank you!! 

 

Should I include that <div> code before or after the {% endif %}

 

Screen Shot 2019-05-06 at 3.39.40 PM.png

0 Upvotes