Jump to content

How to change caption font for mobile view ?

Recommended Posts

Posted (edited)

How can we change the font size for captions on a mobile version/view ?

I guess one needs to change that through code on custom css but i am an amateur and  really dont know how to write code...

image.jpeg

Edited by Miljan
Link to comment
  • Replies 6
  • Views 213
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

9 minutes ago, Miljan said:

How can we change the font size for captions on a mobile version/view ?

I guess one needs to change that through code on custom css but i am an amateur and  really dont know how to write code...

image.jpeg

What is the website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
Posted (edited)

I found this code which is exactly what i want to do... Decrease font for mobile view but also to change gallery grid on moblile to allow only one image. For some reason it doesnt work for me, nothing changes...

 

@media only screen and (max-width: 768px) {
  .gallery-grid .gallery-caption-content {
    font-size: 14px !important;
  }
  .gallery-grid .gallery-grid-wrapper {
    grid-template-columns: 1fr !important;
  }
}
Edited by Miljan
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.