Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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?
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024