Shopify themes, liquid, logos, and UX
Hello,
Can someone please tell me how to add a background image to my "About Us" page. My store url is projects817.com
Solved! Go to the solution
This is an accepted solution.
Hi @Only1mrsfragili,
Please follow the steps below:
- Step 1: Upload background image at Assets.
- Step 2: Go to theme.liquid file and add code here:
Code:
{% if page.handle == 'about-us' %}
<style>
#shopify-section-template--14869219573898__main {
background-image: url({{ 'background.png' | asset_url }});
background-position: center;
background-size: cover;
}
</style>
{% endif %}
Hope it helps!
This is an accepted solution.
Hi @Only1mrsfragili,
Please follow the steps below:
- Step 1: Upload background image at Assets.
- Step 2: Go to theme.liquid file and add code here:
Code:
{% if page.handle == 'about-us' %}
<style>
#shopify-section-template--14869219573898__main {
background-image: url({{ 'background.png' | asset_url }});
background-position: center;
background-size: cover;
}
</style>
{% endif %}
Hope it helps!
It worked! Thank you so much!
User | RANK |
---|---|
207 | |
166 | |
77 | |
56 | |
54 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023