banner overlay updated in mobile view only
This commit is contained in:
parent
52a323e850
commit
79169eb8e8
@ -8,7 +8,7 @@ export default function MobileServices() {
|
|||||||
<section className="feature-section sec-pad bg-color-1">
|
<section className="feature-section sec-pad bg-color-1">
|
||||||
<div className="auto-container">
|
<div className="auto-container">
|
||||||
<div className="sec-title mb_50 centred">
|
<div className="sec-title mb_50 centred">
|
||||||
<span className="sub-title-1 new-color">Our Services</span>
|
<span className="sub-title-1 new-color2">Our Services</span>
|
||||||
<h2 className="tex-color-1">We Help You Move Better & <br />Live Healthier</h2>
|
<h2 className="tex-color-1">We Help You Move Better & <br />Live Healthier</h2>
|
||||||
</div>
|
</div>
|
||||||
<div className="row clearfix">
|
<div className="row clearfix">
|
||||||
|
|||||||
@ -42,7 +42,7 @@ export default function Banner() {
|
|||||||
<div className="bg-layer" style={{ backgroundImage: 'url(/assets/images/home/banner/home-banner-1.webp)', backgroundPosition: '75% center' }}></div>
|
<div className="bg-layer" style={{ backgroundImage: 'url(/assets/images/home/banner/home-banner-1.webp)', backgroundPosition: '75% center' }}></div>
|
||||||
{/* <figure className="image-layer"><img src="/assets/images/home/banner/banner-img-1.webp" alt="" /></figure> */}
|
{/* <figure className="image-layer"><img src="/assets/images/home/banner/banner-img-1.webp" alt="" /></figure> */}
|
||||||
<div className="auto-container">
|
<div className="auto-container">
|
||||||
<div className="content-box custom-content-box" style={{ background: 'white', borderRadius: '15%', opacity: 0.8 }}>
|
<div className="content-box custom-content-box mobile-style">
|
||||||
|
|
||||||
<span className="upper-text">The Journey to Better Health Begins here</span>
|
<span className="upper-text">The Journey to Better Health Begins here</span>
|
||||||
<h2>Your Path to <span>Recovery</span> Starts Today</h2>
|
<h2>Your Path to <span>Recovery</span> Starts Today</h2>
|
||||||
|
|||||||
@ -826,9 +826,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.new-color {
|
.new-color {
|
||||||
|
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-color2 {
|
||||||
|
color: #fff !important;
|
||||||
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sec-title h2 {
|
.sec-title h2 {
|
||||||
@ -3112,4 +3115,11 @@
|
|||||||
.custom-content-box {
|
.custom-content-box {
|
||||||
padding: 35px;
|
padding: 35px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 425px) {
|
||||||
|
.custom-content-box.mobile-style {
|
||||||
|
background: white;
|
||||||
|
border-radius: 15%;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user