apharrison964 Posted May 16, 2015 Share Posted May 16, 2015 Hi, I am trying to add a background image to my shop, but the only way that I can seem to get it to work is if I add the image separately for the header, container, and footer. When I do that, it makes the background image look choppy and jagged. I was wondering if there was a way to make the image span the whole page without having to add it to each individual section (I tried to add a body tag with the background image but it wouldn't load correctly). Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted May 18, 2015 Share Posted May 18, 2015 Are you using the default template? Anyway could you share your site's url? Link to comment Share on other sites More sharing options...
apharrison964 Posted May 18, 2015 Author Share Posted May 18, 2015 I am using a copy of the default theme. The URL is https://demo1.spottrot.com/Lockn/. I want the image to span the entire thing, but as it is the image just spans each area that it is in... Link to comment Share on other sites More sharing options...
apharrison964 Posted May 19, 2015 Author Share Posted May 19, 2015 I was able to sort of fix the problem by using the background-size property, but it will only work if the image is fixed. If I leave that off or change that property, it loads the image in each section still. Link to comment Share on other sites More sharing options...
NemoPS Posted May 20, 2015 Share Posted May 20, 2015 Of course, your image HAS to be wide in order to span all the page's width. Otherwise, indeed, you need to use background-size. You should really use a wider image Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now