Merge branch 'main' of github.com:JannexNet/SHX-Theme

main
Jan Umbach 2024-06-23 14:07:33 +02:00
commit 3b828cf32e
3 changed files with 11 additions and 9 deletions

View File

@ -59,7 +59,7 @@
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>

View File

@ -1,14 +1,16 @@
<div class="shx-landingpage-banner"></div>
<div class="shx-landingpage-banner">
</div>
<style>
.shx-landingpage-banner {
object-fit: cover
width: 100%
height: 300px;
background-image: url("{{ mobile_image | file_url }}");
object-fit: cover;
width: 100%;
height: 650px;
background-image: url({{ mobile_image | file_url }});
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-repeat: no-repeat;
}
@media screen and (min-width: 750px) {
@ -20,7 +22,7 @@
@media screen and (min-width: 1630px) {
.shx-landingpage-banner {
height: 550px;
height: 650px;
}
}
</style>

View File

@ -43,7 +43,7 @@
"custom_liquid_pL6Gqt": {
"type": "custom-liquid",
"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": "",
"padding_top": 0,
"padding_bottom": 52