Shopify themes, liquid, logos, and UX
On my product pages, I want to add an image above the product title.
Here, there will be a favorite review of my favorite customer.
I want to scroll everything else down a bit and add the image. How can I do that?
Store's URL: https://buythewall.com/products/trump-adidas-collab-hoodie
Hello @FelaC
To add an image above the product name on your Shopify product page, you'll need to modify your theme's Liquid code. Here are the steps to do this:
1. Access the Theme Editor:
2. Locate the Product Template:
3. Modify the Liquid Code:
4. Insert the Image Code:
<img src="{{ 'image_url' | asset_url }}" alt="{{ product.title }} Image" class="product-page-image">
<img src="{{ 'image_url' | asset_url }}" alt="{{ product.title }} Image" class="product-page-image">
<h1 class="product-title">{{ product.title }}</h1>
5. Save and Preview:
6. Adjust Styling (Optional):
For example:
.product-page-image {
width: 100%;
max-width: 300px;
margin-bottom: 10px;
}
By following these steps, you can successfully add an image above the product name on your Shopify product page.
It broked I think. Doesn't show up.
I found the code you said in the main.product liquid file. I pasted the image_url code you showed right above that code.
I uploaded my photo to Shopify My Content. I copied the URL and pasted it into the image_url section. I saved and refreshed my page, but this is what happened
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025