Save
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -12,7 +12,7 @@
|
|||||||
"liveSassCompile.settings.autoprefix": "defaults",
|
"liveSassCompile.settings.autoprefix": "defaults",
|
||||||
"liveSassCompile.settings.watchOnLaunch": true,
|
"liveSassCompile.settings.watchOnLaunch": true,
|
||||||
"liveSassCompile.settings.includeItems": [
|
"liveSassCompile.settings.includeItems": [
|
||||||
"themes/do_mydecor_elementor/assets/css/*.scss",
|
"themes/charme/assets/css/*.scss",
|
||||||
],
|
],
|
||||||
"git.ignoreLimitWarning": true
|
"git.ignoreLimitWarning": true
|
||||||
}
|
}
|
||||||
|
|||||||
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{
|
.an_banner col-sm-3{
|
||||||
width:49%;
|
width:49%;
|
||||||
display:inline-block;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -54,6 +54,8 @@
|
|||||||
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/themes/charme/assets/css/custom.css">
|
||||||
|
|
||||||
{block name='javascript_head'}
|
{block name='javascript_head'}
|
||||||
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
|
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
|
||||||
{/block}
|
{/block}
|
||||||
|
|||||||
Reference in New Issue
Block a user