Placing text inside the image

Topic summary

Goal: Place text inside an uploaded product image on a Shopify product page (overlay text within a “hollow” image).

Proposed approach:

  • Wrap the image and text in a single container div; position the container relatively.
  • Apply CSS with position: absolute to the text block to place it precisely over the image.
  • Example markup and a styled mockup were provided to illustrate layout; further styling is needed. If using a built-in Shopify section (e.g., image banner/slider), theme edits may be required.

Latest updates:

  • The store/product link was shared. The target area appears to be a slider within the product page.
  • Implementing the overlay likely requires editing the theme code for that section and making it dynamic so non-developers can customize it.
  • A caution was given: integrating snippets without developer experience could break the site; access to theme code was requested to implement safely.

Status:

  • No final implementation yet. Next step is granting theme access or working with a developer to integrate and expose settings for positioning/styling.

Notes:

  • Screenshots and code snippets are central to understanding the intended overlay placement.
Summarized with AI on December 21. AI used: gpt-5.


v

Hello. In this way, I want to write text inside an image that I uploaded hollow in this way, how can I do it?

You can use absolute positioning. Is the image section custom code that you created? If so, you can create a div container and place the image and text inside it, which should look like this:


  
  

     

  

Then, use some CSS to position the text inside the image using absolute positioning. If it’s not custom code and is a Shopify section, like an image banner or something similar, it would be really helpful if you shared your website so we can assist you further.

We need to put the image and the text contents in a common div. Then, the image text contents should be position: absolute and position it as required. Here is an example code with your provided image -


    
![placeholder image|396x482](upload://ywSErKtFENJHQU2hder6pmKYaxc.png)

         
    

         
        ### Antibacterial Surface
        

            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vehicula, risus at viverra sodales, 
            ligula augue tincidunt felis, sit amet dictum purus justo vel nisl. Integer ac varius purus. 
            Donec at eros id dolor volutpat vehicula.
        

    

Note that, it’s just an example, we need to style it. Also, the theme section should be dynamic so that anyone can customize it without coding knowledge. Please provide your store link here or contact me for further help because I need access to your store.

Hello,

https://a706b4-bc.myshopify.com/products/orijinal-taima-100-saf-titanyum-kesme-tahtasi

Hi,

I noticed the section you want to customize. It seems like a slider.

But, I need access to the theme code and customizable. If you are not a developer, even though i provide you the code snippet, you won’t be able to integrate it correctly that may break the website. If you are interested, please contact me via email (rezwan.cs.dev@gmail.com) so that we can discuss it. Thank you.