Jump to content

issue with lightbox formatting

Recommended Posts

The formatting on the site is perfect when viewed in mobile and also works when viewed in fullscreen on web, but if you shrink the browser the text condenses which makes sense, but my lightbox button stays in the same place so it goes over the text.

 

How do i fix this so that the lightbox button can move dynamically as well and will always stay below the text regardless of browser size?

bad version.png

good version.png

Link to comment
  • Replies 3
  • Views 272
  • Created
  • Last Reply

Top Posters In This Topic

On 3/10/2023 at 6:44 AM, jakeslater said:

website is www.starglowmedia.com, thanks tuanphan

We can use code to add space where screen size do you have problem

Add this to Design > Custom CSS

/* prevent button overlap */
@media screen and (min-width:800px) and (max-width:1120px) {
.fe-block-01c520d7713885ed79e6 {
    margin-top: 30px;
}
}

This code will run on screen sizes: 800px to 1120px

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.