Hi,
im trying to change my background image on Dawn 4.0.0 ive tried a few tutorials they havnt worked.
i have the image in my assests and i want it to fill the whole background and not repeat or tile
Please help ![]()
Hi,
im trying to change my background image on Dawn 4.0.0 ive tried a few tutorials they havnt worked.
i have the image in my assests and i want it to fill the whole background and not repeat or tile
Please help ![]()
Hi @GRNorthwich
Please share:
If the store is not online yet, please go to Theme > Actions > Preview > Click the Share Preview Button at the bottom of the page.
When I have this ill be able to best help you. You can also send me a DM if that is easier.
Kind regards,
Jake
Welcome to shopify community.
Please share your store URL and if your store is password protected then please provide password too.
Thank you.
Hi @GRNorthwich ,
Go to layout > theme.liquid file, find ‘endstyle’ and add code here:
Code:
#MainContent{
background-image: url("url image");
background-repeat: no-repeat;
background-size: cover;
}
with the url image uploaded in Assets and get it: {{ ‘image.png’ | asset_url }}
Hope it helps!
Hi @GRNorthwich ,
Please change url:
background-image: url(“{{ ‘Burst-Purple-aq8sdb.png’ | asset_url }}”);
Hope it helps!
Hi @GRNorthwich
If you can change {% endstyle %} to
Your opening tag should also be not sure if you had put {% style %}
Should look like this
Hi @GRNorthwich ,
Please add code here:
Code:
If it still doesn’t work, please send me the site link, I will check it for you
Hi @GRNorthwich ,
Please remove my previous tutorial code and add following code, it will work fine:
Hope it helps!
Hi This just removed the background altogether ![]()
it did it for background on some of the bodys we are making progress!
what i want is the image to get everything header footer etc
yes!
Hi @GRNorthwich ,
On my previous answer you need to remove the code I instructed first, it is the current code you added and replace it with the following code:
It should work like the screenshot I sent