Put a image in background

Hello guys do you know how can I put a image in background

Hello @Suco

This is Amelia at PageFly - Shopify Advanced Page Builder app.

Could you please share the URL link of your store and where you need to use a background image so we can check it for you?

hi sure , I want to use just in the frist page

https://492dea-24.myshopify.com/pages/landing-page-apr-25-23-07-50

pass Humblee3030

Hello @Suco

You can try the following steps I have provided to help you solve the problem you are facing:

Step 1: Online Store → Themes → Edit Code

Step 2: Choose file theme.liquid

Step 3: Add code above the tag


Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

Hi thanks for all but don’t work for me :sob: :sob:

Hi @Suco

You can follow these steps:

  • Go to Online store → Themes → Edit code

  • Find file theme.liquid

  • Paste this code above tag → Click Save

{% style %}
      {% if template.name == 'index' %}
        body {
            background-repeat: no-repeat !important;
            background-size: cover !important;
            background-image: url("https://community.shopify.com/c/image/serverpage/image-id/448396i470F16F4A13EB044/image-size/medium?v=v2&px=400") !important;
        }
      {% endif %}
{% endstyle %}

Hope my solution help you !