Jump to content

Moving Product Description on mobile

Recommended Posts

Hello, below is my product page on desktop view. I have made adjustsments with code to the layout, and I am happy with it. Except mobile view.

 

image.thumb.png.b9c708e9c44fc301737b5348c6dbbe39.png

 

Below is the mobile view for the product page :

1.image.thumb.png.72400646562457c5a6ac87e81c2c7097.png2. image.thumb.png.2b9cb8cf80c5a9451f579e1c2af3b4b3.png

The section with the green Icons, and text above it, is actually "description" section. It displays fine on my desktop view, but on mobile view, it has been pushed down to the bottom of the page, it is even below the reviews as you can see.

 

How do I make it the same as desktop view where these green icons and text is above the "purchase" button.

 

Thank you.

 

PRODUCT PAGE: 

 

https://www.mozerisfineantiques.com/rings/p/gold-and-platinum-emerald-ring-ame7n

Link to comment
  • Replies 1
  • Views 251
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

I have managed to do it with following code: 

//mobile view description
@media screen and (max-width: 767px) {
    /* Ensure the product details container is treated as a flexbox */
    .ProductItem-details {
        display: flex;
        flex-direction: column;
    }

    /* Move the add-to-cart button higher (to order 2) */
    .ProductItem-details .sqs-add-to-cart-button-wrapper {
        order: 2 !important;
    }

    /* Move the product details (description) below the add-to-cart button */
    .ProductItem-details-excerpt {
        order: 3 !important;
    }

    /* Move reviews section further down if needed */
    section.reviewsSection.O_TZtXma8b5KXnfG16jW {
        order: 4 !important;
    }
}

 

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.