Jump to content

misalignment/wrong ordering of additional info box on mobile

Go to solution Solved by JayVanDyke,

Recommended Posts

Posted

https://daffodil-papaya-w55h.squarespace.com/shop/p/big-bow-bag-in-red password:hello

The additional info section 'blocks' are misaligned on mobile viewing.

I have played with padding to get the bulk of text sat where I want but the text is in two blocks (so two paragraphs sit side by side in desktop). When in mobile, the grey paragraph strays to the left of the screen. Please compare with desktop for better understanding. Can I isolate this part and adjust the padding so they line up?

Current css for mobile below, for clarification I have css on the carousel too but that doesn't seem to be affecting. left in the code for transparency:

/* Smartphones  */
@media screen and (max-width:767px) {
.pdp-gallery-slides{
       width: 100% !important;
       overflow: hidden !important;
  } 
    #pdp .product-details {
  padding-bottom: 0px !important;
  padding-right: 0px;
  }
   #pdp .product-price {
     margin-bottom: -10px !important;
   }
   #pdp .products{
    padding-top: 0 !important;
    padding-left: 0px; 
  }
 

  • Solution
Posted

@helpmepls This looks like it has to do with how you have the blocks arranged. I think they are set up so that this one highlighted is the whole screen and then the other one is "floating" on top. This is mainly for letting text wrap around an element but in your case I think you want them side by side. Grab the block on the right and pull it all the way over to the right side until you get the vertical blue line. if theres a blue box then it will do exactly what you have here again. See if that helps!

Screenshot 2024-01-04 at 11.42.51 AM.png

  Did I help you? Buy me a coffee!

👨‍💻 Bergen Design Co.

💻  I'm for hire on Upwork!

🕸️ Squarespace Experts  

🖥️ 99Designs

 🛠️ Web Designer's Toolkit

**some of these contain affiliate links

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.