Revert the header changes

This commit is contained in:
amalelshihaby 2021-09-19 17:11:31 +02:00
parent 000b2d6d7d
commit f6d395592c
3 changed files with 12 additions and 12 deletions

View file

@ -512,7 +512,7 @@ body, html {
.section { .section {
position: relative; position: relative;
padding: 104px 0; padding: 104px 0;
padding: 3.5rem 0; padding: 1.5rem 0;
} }
@media (max-width: 767.98px) { @media (max-width: 767.98px) {

View file

@ -131,15 +131,16 @@
</div> </div>
</div> </div>
{% else %} {% else %}
<section class="hero-wrap section shadow-md"> <div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light">
<div class="hero-mask opacity-8 bg-primary"></div> <div class="col-md-5 p-lg-5 mx-auto my-5">
<div class="hero-bg" style="background-image:url('/u/image/product.jpg');"></div> <h1 class="display-4 font-weight-normal">{{ self.title() }}</h1>
<div class="hero-content py-5"> <p class="lead font-weight-normal">
<div class="container text-center"> {% block subtitle %}{% endblock %}
<h2 class="text-9 text-white">{{ self.title() }}</h2> </p>
<p class="lead text-white mb-4">{% block subtitle %}{% endblock %}</p>
</div> </div>
</section> <div class="product-device shadow-sm d-none d-md-block"></div>
<div class="product-device product-device-2 shadow-sm d-none d-md-block"></div>
</div>
{% endif %} {% endif %}
{% block content %}{% endblock %} {% block content %}{% endblock %}

View file

@ -14,7 +14,7 @@
</div> </div>
</section> </section>
{% endif %} {% endif %}
<section class="section bg-light"> <section class="section">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-4 col-lg-4 mb-5 mb-lg-0"> <div class="col-sm-4 col-lg-4 mb-5 mb-lg-0">
@ -74,7 +74,6 @@
</div> </div>
</div> </div>
{% endif %} {% endif %}
<section class="section bg-offer">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
@ -111,8 +110,8 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
<hr/>
</div> </div>
</section>
{% if this.description4 %} {% if this.description4 %}
<section class="section"> <section class="section">