All things Shopify and commerce
Hi ! My store is ed4ee3.myshopify.com
When I'm on a product page, the title is not on top of the page. I would like it to be on the very top, followed by the review stars. I did some research but couldn't find anything for impulse theme.
Thank you
Solved! Go to the solution
This is an accepted solution.
Hi @RaphGO
I am assuming you just want this design for mobile only. If so, you can use the less complicated instructions below
1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Asset folder and open the base.css file
3. At very end of the code, add the code below
@media only screen and (max-width: 750px){
.grid {
position: relative;
padding-top: 7rem;
}
.product-block.product-block--header {
position: absolute;
top: 1rem;
text-align: center;
width: 100%;
}
.jdgm-widget.jdgm-preview-badge.jdgm-preview-badge--with-link {
position: absolute;
top: 4rem;
text-align: center;
width: 100%;
}
}
Result here
Hi @RaphGO
To move the title of your product above the images for mobile devices on product pages in your Shopify store using the Sense theme, you will need to modify the theme's code. Please note that making changes to your theme's code requires some technical knowledge, and it's always recommended to create a backup of your theme before making any changes.
Here's a general guide to help you achieve this:
<h1 class="product-title">{{ product.title }}</h1>
<h1 id="dektopProductTitle" class="product-title">{{ product.title }}</h1>
then you can edit it to
To move the title above the images, copy the code below and paste it before the code that renders the product images.
<h1 id="mobileProductTitle" class="product-title">{{ product.title }}</h1>
then you can edit it to
Go to Online Store->Theme->Edit code.
Search file base.css
Paste the below code at the bottom of this file ⇒ save
@media(min-width:767px){
#dektopProductTitle{
display:block;
}
#mobileProductTitle{
display:none;
}
}
@media(max-width:767px){
#dektopProductTitle{
display:none;
}
#mobileProductTitle{
display:block;
}
}
Hope my solution works perfectly for you.
Cheers!
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi @RaphGO
I am assuming you just want this design for mobile only. If so, you can use the less complicated instructions below
1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Asset folder and open the base.css file
3. At very end of the code, add the code below
@media only screen and (max-width: 750px){
.grid {
position: relative;
padding-top: 7rem;
}
.product-block.product-block--header {
position: absolute;
top: 1rem;
text-align: center;
width: 100%;
}
.jdgm-widget.jdgm-preview-badge.jdgm-preview-badge--with-link {
position: absolute;
top: 4rem;
text-align: center;
width: 100%;
}
}
Result here
WOW top notch solution ! Worked like a charm 🙂
A Huge thank you Made4Uo.
I want to do the same thing but only for desktop.
How can i do it?
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024