Jump to content

Change size of Index Gallery text on mobile

Go to solution Solved by tuanphan,

Recommended Posts

Hey There!

I'm looking to make the index gallery text large on desktop but smaller on mobile.
when I focus on making it fit on mobile properly...it's way too small on desktop. 

Is there a code to lower the text font size on mobile for index gallery images?

Thanks!

 

site: www.wespeak.bm
Template: brine
page: www.wespeak.bm/community-support

Link to comment
  • Solution

Add to Page Settings > Advanced > Header

<style>
  @media screen and (max-width:640px) {
  .Index-gallery-item-content-body * {
    font-size: 10px;
}
  }
</style>

 

Edited by tuanphan

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
On 3/22/2020 at 7:08 PM, tuanphan said:

Add to Page Settings > Advanced > Header


<style>
  @media screen and (max-width:640px) {
  .Index-gallery-item-content-body * {
    font-size: 10px;
}
  }
</style>

 

Hey @tuanphan!

Would you know by chance how to manipulate the size of the container of the gallery summary block on desktop only?
I know we can change the size in the design settings which is great...but I'd like for it to be a certain size (height) on desktop and another size on mobile.
Do you think this is possible to tighten up the height on desktop only? 
I've included a snap shot of how high I needed to go on desktop to make it fit on mobile...
THANK YOU! 

Screenshot 2020-03-24 12.41.10.png

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.