Skip to content

Commit

Permalink
simple css fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
arparvezz committed Sep 11, 2024
1 parent 1109fc8 commit a37e7a6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ a.cart-page-link {
padding: 5px 10px;
border-radius: 5px;
}

.cart-drawer-body {
overflow-y: scroll;
}

.cart-drawer-body-single-product {
margin: 20px 0;
display: flex;
Expand Down Expand Up @@ -193,11 +195,13 @@ header {
text-decoration: none;
color: black;
}
.logo{

.logo {
max-width: 80px;
width: 100%;
height: auto;
}

.menu-section {
display: flex;
align-items: center;
Expand Down Expand Up @@ -254,9 +258,11 @@ header {
z-index: 5;
display: none;
}
.cart-menu-active{

.cart-menu-active {
display: flex;
}

.cart-menu .cart-menu-links {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -404,7 +410,8 @@ img.single-icon {
transition: .3s ease-in-out;
z-index: 1;
}
.single-img-box-overlay{

.single-img-box-overlay {
position: absolute;
top: 0;
left: 0;
Expand Down Expand Up @@ -436,7 +443,8 @@ img.single-icon {
z-index: 999;
color: white;
}
.single-img-box-title{

.single-img-box-title {
font-size: 20px;
margin-bottom: 10px;
}
Expand Down Expand Up @@ -569,13 +577,8 @@ a.cta-link:hover {
color: indigo;
}





/* img text box section */


.img-text-box-wrapper {
display: flex;
justify-content: space-between;
Expand Down
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ cartDrawerCloseBtn.addEventListener('click',function(event){
})


// product featured image change on click
// product featured image change on clicked
let productFeaturedImg = document.querySelector('.product-featured-img')
let productThumbnailImgs = document.querySelectorAll('.product-other-img');

Expand Down

0 comments on commit a37e7a6

Please sign in to comment.