Jump to content

How do I move the title under the product image on mobile?

Recommended Posts

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
section.ProductItem-summary.clear {
    display: flex;
    flex-direction: column;
}
figure.ProductItem-gallery {
    order: 1;
}
section.ProductItem-details.ProductItem-details--mobile {
    order: 2;
}
section.ProductItem-details {
    order: 3;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 3 months later...

I managed to get results with the following, which works for me,  but the title still wont come at top.

@media screen and (max-width:640px) {
section.ProductItem-summary.clear {
    display: flex;
    flex-direction: column;
}
figure.ProductItem-gallery {
    order: 0;
}

.collection-type-products .ProductItem-details .ProductItem-details-excerpt {
    order: 2;
}
.collection-type-products .ProductItem-details h1.ProductItem-details-title{order:1;}
}

Ive put order 1 in title here because putting it down as 0 doesnt work. And even starting the order from 1 among these doesnt work either sigh

Link to comment
On 8/14/2020 at 6:40 AM, Yugvir said:

I managed to get results with the following, which works for me,  but the title still wont come at top.

@media screen and (max-width:640px) {
section.ProductItem-summary.clear {
    display: flex;
    flex-direction: column;
}
figure.ProductItem-gallery {
    order: 0;
}

.collection-type-products .ProductItem-details .ProductItem-details-excerpt {
    order: 2;
}
.collection-type-products .ProductItem-details h1.ProductItem-details-title{order:1;}
}

Ive put order 1 in title here because putting it down as 0 doesnt work. And even starting the order from 1 among these doesnt work either sigh

Did you solve?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 years later...
13 hours ago, Rjafadi said:

Hi @tuanphan

Is there a way to create some space between the product title and the images above?

Screenshot 2022-09-08 at 20.51.34.png

Can you share link to product page?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.