How do you Overlay an Image on the Image Banner of the website's Home Page?

How do you Overlay an Image on the Image Banner of the website's Home Page?

HighTide_Ceylon
New Member
5 0 0

Hey everyone,

I wanted to know how I could Overlay an Image on the Image Banner of my website's Home Page? The website's url is 'www.hightideceylon.com'.

What I want is to overlay a Coffee Pack on top of the Image Banner to highlight the product. Please let me know how I can achieve this.

Thank you.

Replies 3 (3)

Small_Task_Help
Shopify Partner
1054 45 102

Hi,

Hope this will help

-Find Homepage Banner Section
-Add Coffee Pack as Overlay Using Custom Code and Adjust Image Position

Code example

<div style="position: relative; width: 100%;">
  <!-- Your Banner Image (already exists) -->

  <!-- Overlay Coffee Pack Image -->
  <img src="https://your-image-link.com/coffee-pack.png" 
       style="position: absolute; 
              top: 50%; 
              left: 50%; 
              transform: translate(-50%, -50%); 
              max-width: 200px; 
              z-index: 10;">
</div>
To Get Shopify Experts Help, Click Here or E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert India
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad
HighTide_Ceylon
New Member
5 0 0

Hi @Small_Task_Help. Thank you for your response. So I should Copy+Paste this code in the Homepage Banner section? Does this code identify the correct image banner or is that something I have to enter into the code as well?

HighTide_Ceylon
New Member
5 0 0

Also, I am very new to Shopify and I am a little confused with the CSS editor. How do I locate the Homepage Banner section? And once I do, do I copy this code at the bottom of that section? Sorry about all of the questions, I am still quite new to all of this. Thank you in advance.