retouch of hero sliders

This commit is contained in:
ChineseChikki
2023-03-02 18:29:17 +01:00
parent c69f697796
commit 840c1bc991
4 changed files with 70 additions and 62 deletions
+40 -37
View File
@@ -41,7 +41,7 @@
.slider-item {
height: 400px;
}
.slider-item .slider-shape img {
/* .slider-item .slider-shape img {
position: relative;
top: 0;
right: 0;
@@ -49,9 +49,9 @@
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
height: 400px;
}
.slider-item .slider-shape-two img {
height: 600px;
} */
/* .slider-item .slider-shape-two img {
position: relative;
top: 0;
right: 0;
@@ -59,9 +59,9 @@
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
height: 400px;
}
.slider-item .slider-shape-three img {
height: 600px;
} */
/* .slider-item .slider-shape-three img {
position: relative;
top: 0;
right: 0;
@@ -69,8 +69,8 @@
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
height: 400px;
}
height: 600px;
} */
/* .slider-item:before {
position: absolute;
content: '';
@@ -83,7 +83,7 @@
} */
.slider-item .slider-text {
margin-top: 0px;
/* text-align: center; */
text-align: center;
}
.slider-item .slider-text h1 {
font-size: 26px;
@@ -95,16 +95,19 @@
max-width: 100%;
}
/* text for the two images */
.slider-info-one{
top: 40%;
transform: translateY(-50%);
}
/* .slider-info{
position: absolute;
top: 50%;
right: 100px;
transform: translateY(-50%);
} */
.slider-info-two{
top: 40%;
transform: translateY(-50%);
}
/* .slider-infos{
position: absolute;
top: 50%;
left: 100px;
transform: translateY(-50%);
} */
.common-btn a {
font-size: 13px;
@@ -1525,36 +1528,36 @@
margin-left: auto;
margin-right: auto;
}
.slider-item .slider-shape img {
/* .slider-item .slider-shape img {
position: relative;
top: 0;
right: 0;
left: 0;
margin-left: auto;
margin-right: auto;
/* max-width: 550px; */
max-width: 550px;
margin-bottom: 30px;
}
.slider-item .slider-shape-two img {
} */
/* .slider-item .slider-shape-two img {
position: relative;
top: 0;
right: 0;
left: 0;
margin-left: auto;
margin-right: auto;
/* max-width: 550px; */
max-width: 550px;
margin-bottom: 30px;
}
.slider-item .slider-shape-three img {
} */
/* .slider-item .slider-shape-three img {
position: relative;
top: 0;
right: 0;
left: 0;
margin-left: auto;
margin-right: auto;
/* max-width: 550px; */
max-width: 550px;
margin-bottom: 30px;
}
} */
.slider-item .slider-text {
margin-top: 0;
}
@@ -2793,20 +2796,20 @@
@media only screen and (min-width: 992px) and (max-width: 1199px) {
/*-- Home Slider --*/
.slider-item .slider-shape img {
/* .slider-item .slider-shape img {
top: 115px;
right: 0;
/* max-width: 520px; */
}
.slider-item .slider-shape-two img {
max-width: 520px;
} */
/* .slider-item .slider-shape-two img {
top: 135px;
/* max-width: 520px; */
max-width: 520px;
right: 0;
}
.slider-item .slider-shape-three img {
} */
/* .slider-item .slider-shape-three img {
top: 150px;
/* max-width: 500px; */
}
max-width: 500px;
} */
.common-btn a {
padding: 16px 22px;
}
+18 -13
View File
@@ -429,17 +429,29 @@ button:focus {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
height: 700px;
height: 900px;
position: relative;
}
.slider-item .slider-shape img {
.slider-item-img-1 {
background-image: url("/images/home-one/home-slider-1.png");
}
.slider-item-img-2 {
background-image: url("/images/home-one/home-slider-2.png");
}
.slider-item-img-3 {
background-image: url("/images/home-one/home-slider-3.png");
}
/* .slider-item .slider-shape img {
width: 100%;
height: 700px;
object-fit: cover;
}
} */
.slider-item .slider-shape-two img {
/* .slider-item .slider-shape-two img {
width: 100%;
height: 700px;
object-fit: cover;
@@ -448,7 +460,7 @@ button:focus {
.slider-item .slider-shape-three img {
width: 100%;
height: 100%;
}
} */
/* .slider-item::before {
position: absolute;
@@ -472,20 +484,13 @@ button:focus {
transform: translateY(-50%);
}
.slider-info-one{
.slider-infos{
position: absolute;
top: 50%;
left: 100px;
transform: translateY(-50%);
}
.slider-info-two{
position: absolute;
left: 100px;
bottom: 35%;
}
.slider-item .slider-text h1 {
font-weight: 700;
font-size: 46px;