Liquid, JavaScript, themes, sales channels
can i get the rigt code to fix it?
body,
html {
background: url({{'364052861-huge.jpg' | asset_url }});
background-color: $color-body;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-position:center;
background-attachment:fixed;
background-repeat: no-repeat;
}
.page-width {
@include clearfix();
max-width: $width-site;
margin: 0 auto;
}
.main-content {
display: block;
padding-top: $section-spacing-small;
@include media-query($medium-up) {
padding-top: $section-spacing;
}
}
.section-header {
margin-bottom: $section-spacing-small;
@include media-query($medium-up) {
margin-bottom: $section-spacing;
}
}
Hey there,
Try using one of the background property values: https://www.w3schools.com/cssref/css3_pr_background-size.asp (maybe contain instead of cover)
examples: https://www.w3schools.com/cssref/playit.asp?filename=playcss_background-size&preval=contain
Or if you have a url we can take a look and see.
i did that before ,nothing happen ...so sad
do you have a link to your site?
User | RANK |
---|---|
25 | |
24 | |
8 | |
7 | |
6 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023