We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Moving Product Title Above Product Image

Solved

How to move product title above product image on mobile view?

omero
Explorer
58 0 12

Hello

 

I need help moving product title above product images. I need this for product pages and for mobile view only

My url is designsfordivine.com

 

I would appreciate any help,

Thanks very much

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @omero 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 749px) {
.product__title.ezsd-root {
    position: absolute;
    top: 42%;
}
section#MainProduct-template--19358373314887__main {
    padding-top: 100px;
}
}
@media only screen and (max-width: 545px) {
    .product__title.ezsd-root {
    top: 39%;
}
}

 

  • And Save.

I hope it help.

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @omero 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 749px) {
.product__title.ezsd-root {
    position: absolute;
    top: 42%;
}
section#MainProduct-template--19358373314887__main {
    padding-top: 100px;
}
}
@media only screen and (max-width: 545px) {
    .product__title.ezsd-root {
    top: 39%;
}
}

 

  • And Save.

I hope it help.

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
omero
Explorer
58 0 12

Hello, thanks for your answer. It helped me moving my title above product. So I accepted as solution

 

Do you also know how to move price above product image for mobile?