Shopify themes, liquid, logos, and UX
Hi All,
I am trying to move title above the product image and need help with it. I use turbo theme and trying to achieve so on mobile view. I would highly appreciate if anyone can suggest the coding instructions for the same. Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Please follow the steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Sections > product-template.liquid, find "product_name" and change code.
<h1 class="product_name">{{ product.title }}</h1> => <h1 class="product_name is-hidden-mobile-only">{{ product.title }}</h1>
- Step 3: Find "product__images" and add code: <h1 class="product_name is-hidden-desktop-only">{{ product.title }}</h1>
Refer https://i.imgur.com/0fJUfLU.png
Hope it clear to you.
Please share your store URL.
Hi @dmwwebartisan, Thanks for quick response
Here is the preview url: https://hzk3128q60mx4o62-53138817212.shopifypreview.com
Please let me know if you need any additional details
Appreciate your time
Could you please provide the complete code of sections/product-template.liquid file?
Hi @dmwwebartisan , Sorry I am not sure how can I capture the complete code of sections/product-template.liquid file. Do you want me to provide screenshot of an entire page or is there any particular section? Sorry I am a newbie in this area.
This is an accepted solution.
Please follow the steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Sections > product-template.liquid, find "product_name" and change code.
<h1 class="product_name">{{ product.title }}</h1> => <h1 class="product_name is-hidden-mobile-only">{{ product.title }}</h1>
- Step 3: Find "product__images" and add code: <h1 class="product_name is-hidden-desktop-only">{{ product.title }}</h1>
Refer https://i.imgur.com/0fJUfLU.png
Hope it clear to you.
That worked! Thanks so much! Appreciate it!
Hi we want a same product titles above the image we find the code "product_name" but we didn't find the product__image code can you tell me how we can do this and where i can replace the code. If you want i can add the code here.
Thank you
Hi @Israrkhan,
Can you create a new question and send me the link?
I will help you check and answer it, this will help more people find the solution at the community.
Thank you.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024