Jump to content

Grid mosaic gallery caption displayed to low on mobile

Go to solution Solved by Ziggy,

Recommended Posts

Hello,

I have a problem with the display of the caption of a grid mosaic gallery on mobile.

On desktop it's fine but on mobile the caption is so low that it's closer to the next image than to its own image.

For information I already use this code to make the caption bigger and centered :

Quote

p.gallery-caption-content {
  text-align: center;
  font-size: 1.5rem !important;

And I had trying neg margin and z-index with no success

Any solution ? Thanks !

--- 

 

 

 

Edited by PurpleFox
Link to comment

Can you share your website URL and this page?

z-index is for adjusting layering, it won't impact the x/y position of elements on the page.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • Solution

Try this in Custom CSS:

@media screen and (max-width: 800px) {
  .gallery-masonry-item-wrapper {
    margin-bottom: 0px !important;
  }
  .gallery-caption-grid-masonry {
    margin-bottom: 12px;
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
14 minutes ago, PurpleFox said:

Works perfectly @Ziggy Thanks a lot !

Glad to hear that, thanks for the update and the like!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.