Skip to content

Commit

Permalink
styling swiper pagination on hero swiper
Browse files Browse the repository at this point in the history
  • Loading branch information
goldipl committed Jun 13, 2024
1 parent ae25c4d commit 1b98c90
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions sass/home/_hero_swiper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
&.mobile-hero-swiper {
display: none;
}
.swiper-pagination {
display: none;
}
}
}
}
Expand Down Expand Up @@ -41,6 +44,8 @@
}
}
.swiper-pagination {
display: flex;
justify-content: center;
bottom: 0;
}
}
Expand Down
5 changes: 5 additions & 0 deletions sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ body {
.main-2-0 #hero-swiper .hero-swiper.mobile-hero-swiper {
display: none;
}
.main-2-0 #hero-swiper .hero-swiper .swiper-pagination {
display: none;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
background-color: #eb7d3f;
Expand All @@ -121,6 +124,8 @@ body {
object-fit: cover;
}
.main-2-0 #hero-swiper .hero-swiper.mobile-hero-swiper .swiper-pagination {
display: flex;
justify-content: center;
bottom: 0;
}
.main-2-0 #hero-swiper .hero-swiper.desktop-hero-swiper {
Expand Down
Loading

0 comments on commit 1b98c90

Please sign in to comment.