Save
This commit is contained in:
1
themes/charme/assets/css/custom.css
Normal file
1
themes/charme/assets/css/custom.css
Normal file
@@ -0,0 +1 @@
|
||||
.an_banner{position:relative}.an_banner .an_banner-link{position:absolute;inset:0}/*# sourceMappingURL=custom.css.map */
|
||||
1
themes/charme/assets/css/custom.css.map
Normal file
1
themes/charme/assets/css/custom.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["custom.scss"],"names":[],"mappings":"AAAA,WACC,iBAAA,CAEA,2BACC,iBAAA,CACA,OAAA","file":"custom.css"}
|
||||
8
themes/charme/assets/css/custom.scss
Normal file
8
themes/charme/assets/css/custom.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
.an_banner {
|
||||
position: relative;
|
||||
|
||||
.an_banner-link {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
}
|
||||
@@ -19428,4 +19428,30 @@ body#checkout .cart-voucher {
|
||||
.an_banner col-sm-3{
|
||||
width:49%;
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
.an_banner {
|
||||
position: relative;
|
||||
}
|
||||
.an_banner .an_banner-link {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
body#index .page-home>.row .an_banner{
|
||||
width: calc(100% / 4 - (20px - 20px / 4)) !important;
|
||||
max-width: unset !important;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body#index .page-home>.row .an_banner{
|
||||
width: calc(100% / 2 - (20px - 20px / 2)) !important;
|
||||
max-width: unset !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 400px) {
|
||||
body#index .page-home>.row .an_banner{
|
||||
width: 100% !important;
|
||||
max-width: unset !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user