Hi there
I'm trying to add a background image to my 404 page on my testament theme. I've pasted the code into the 404 liquid file, using the image URL from my settings files folder, but it's not working. The webpage is displaying my code, and no image. Can anyone help me get the code right? I've been advised to add style tags, but I can't get it right it seems - I'm a bit out of my depth! Any advice would be much appreciated. Here's my attempt:
{
style="background-image: url("https://cdn.shopify.com/s/files/1/0248/0714/5547/files/Categories_pearls_black_3.jpg?871");
}
Hi, @KatyB ,
This is Evita from On The Map.
You are using style tag incorrect. Add it like this:
<div id="page" class="desktop-12 tablet-6 mobile-3" style="background-image: url(https://cdn.shopify.com/s/files/1/0248/0714/5547/files/Categories_pearls_black_3.jpg?871)">
Best,
Evita
Sure, just add this style to text html tags:
style="color: white"
@TimAU - can you share page link? I will check the code on browser now
sure, thanks, the store is not live yet so i will send you the password via email but URL is https://spelean-outdoor-estore.myshopify.com/404
@TimAU - hello, yes please share the password and link to 04 page so that I can check 404 page
Hi @suyash1 ,
I posted it in the previous post, but 404 page can be reached at:
https://outdoorestore.com.au/404 or
https://spelean-outdoor-estore.myshopify.com/404
I have sent the password previously by email but have now sent it as a message as well.
Thanks, Tim
User | Count |
---|---|
681 | |
140 | |
104 | |
63 | |
36 |