Merge branch 'main' of github.com:JannexNet/SHX-Theme
commit
3b828cf32e
|
@ -59,7 +59,7 @@
|
||||||
endcapture
|
endcapture
|
||||||
%}
|
%}
|
||||||
|
|
||||||
console.log("3", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
console.log("1", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
<div class="shx-landingpage-banner"></div>
|
<div class="shx-landingpage-banner">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.shx-landingpage-banner {
|
.shx-landingpage-banner {
|
||||||
object-fit: cover
|
object-fit: cover;
|
||||||
width: 100%
|
width: 100%;
|
||||||
height: 300px;
|
height: 650px;
|
||||||
background-image: url("{{ mobile_image | file_url }}");
|
background-image: url({{ mobile_image | file_url }});
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 750px) {
|
@media screen and (min-width: 750px) {
|
||||||
|
@ -20,7 +22,7 @@
|
||||||
|
|
||||||
@media screen and (min-width: 1630px) {
|
@media screen and (min-width: 1630px) {
|
||||||
.shx-landingpage-banner {
|
.shx-landingpage-banner {
|
||||||
height: 550px;
|
height: 650px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -43,7 +43,7 @@
|
||||||
"custom_liquid_pL6Gqt": {
|
"custom_liquid_pL6Gqt": {
|
||||||
"type": "custom-liquid",
|
"type": "custom-liquid",
|
||||||
"settings": {
|
"settings": {
|
||||||
"custom_liquid": "{% render \"shx-landingpage-banner\", mobile_image: \"IMG_2822mobi2.jpg\" %}",
|
"custom_liquid": "{% render \"shx-landingpage-banner\", desktop_image: \"IMG_2831desk.jpg\", mobile_image: \"IMG_2822mobi2.jpg\" %}",
|
||||||
"color_scheme": "",
|
"color_scheme": "",
|
||||||
"padding_top": 0,
|
"padding_top": 0,
|
||||||
"padding_bottom": 52
|
"padding_bottom": 52
|
||||||
|
|
Loading…
Reference in New Issue