![[Code sales]: Image banner (screen width)](http://section-stock.com/cdn/shop/files/image-banner-n.png?v=1742635373&width=1445)
This section is a section that fits the Dawn default section "Image Banner" within its inner width.
The image will be the inner width, not the full width.
Other settings are the same as those in the default image banner section.




A little code
<div class="page-width">
<div
id="Banner- {{ section.id }} "
class="banner banner--content-align- {{ section.settings.desktop_content_alignment }} banner--content-align-mobile- {{ section.settings.mobile_content_alignment }} banner-- {{ section.settings.image_height }} {% if section.settings.stack_images_on_mobile and section.settings.image != blank and section.settings.image_2 != blank %} banner--stacked {% endif %} {% if section.settings.image_height == 'adapt' and section.settings.image != blank %} banner--adapt {% endif %} {% if section.settings.show_text_below %} banner--mobile-bottom {%- endif -%} {% if section.settings.show_text_box == false %} banner--desktop-transparent {% endif %} {% if settings.animations_reveal_on_scroll %} scroll-trigger animate--fade-in {% endif %} "
>
{%- if section.settings.image != blank -%}
<div> class="banner__media media {% if section.settings.image == blank and section.settings.image_2 == blank %} placeholder {% endif %} {% if section.settings.image_2 != blank %} banner__media-half {% endif %} {% if section.settings.image_behavior != 'none' %} animate-- {{ section.settings.image_behavior }} {% endif %} {% if settings.animations_reveal_on_scroll %} scroll-trigger animate--fade-in {% endif %} ">