Website Building » Shopify » How Do I Add a Background Image to a Header in Shopify?

How Do I Add a Background Image to a Header in Shopify?

Last updated on October 1, 2022 @ 9:59 pm

Adding a background image to your header can give your Shopify store a unique and stylish look. There are a few different ways to add a background image to your header, depending on the theme you’re using.

If you’re using the Simple theme, you can add a background image to your header by going to the Theme settings page and selecting “Change header background.” From there, you can upload an image or choose one from your Shopify library.

PRO TIP: If you are not familiar with HTML and CSS, we recommend that you seek help from a Shopify Expert or our support team before modifying your code. For more information, see our documentation on working with themes.

If you’re using the Minimal theme, you can add a background image to your header by going to the Theme settings page and selecting “Edit HTML/CSS.” In the Assets folder, open the Header.liquid file. Find the line of code that says “{{ ‘header-bg.jpg’ | asset_url }}” and replace it with the URL of your desired background image.

If you’re using the Brooklyn theme, you can add a background image to your header by going to the Theme settings page and selecting “Customize.” Under “Header,” select “Header Background” and upload your desired image.

Adding a background image to your header is a great way to give your Shopify store a unique look. By following the instructions above, depending on your theme, you can easily add a background image to your header.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.