Jump to content

How can i change font of caption in grid gallery?

Recommended Posts

Site URL: https://www.enenstudio.pl/

For now i'm using this css code to change font of the grid masonry gallery :

.gallery-caption p{font-family: "helvetica" !important;}

Nothing other than "helvetica" or "courier" changes it. I'm not looking for "how to apply custom font into squarespace",  I'm just hoping that there's some way to change this specific font for something other than "helvetica". Nothing fancy, just fonts like "poppins", "georgia", "proxima nova", "open sans" etc.

Thanks for any help :))

Zrzut ekranu 2022-02-24 o 13.55.15.png

Link to comment
40 minutes ago, ENEN said:

Site URL: https://www.enenstudio.pl/

For now i'm using this css code to change font of the grid masonry gallery :

.gallery-caption p{font-family: "helvetica" !important;}

Nothing other than "helvetica" or "courier" changes it. I'm not looking for "how to apply custom font into squarespace",  I'm just hoping that there's some way to change this specific font for something other than "helvetica". Nothing fancy, just fonts like "poppins", "georgia", "proxima nova", "open sans" etc.

Thanks for any help :))

Zrzut ekranu 2022-02-24 o 13.55.15.png

Can you share your site-wide password?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
1 hour ago, ENEN said:

I'm looking for a way to change the font because on a phone these captions have a different arrangement than on a computer.

Try adding to Home > Design > Custom Css

section[data-section-id="61af907e0219904d2b0e9cfa"] .gallery-caption-content {
  font-family: helvetica !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.thumb.png.54476ec85228d1042dbff5cf1fe5643e.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

@bangank36  Yess, thanks that worked perfectly.

Do you have any idea how to change text wrapping on mobile in this section i thought that it might be the problem of font, because when i change font size only for mobile, text wrapping is still a problem, so i don't know how to fix it...

in caption section i used this code: "some caption" <br/> "some caption"

on computer everything looks exactly how i wanted, but the problem is mobile version.

Zrzut ekranu 2022-02-25 o 11.33.13.png

IMG_9569.PNG

Link to comment
On 2/25/2022 at 5:40 PM, ENEN said:

@bangank36  Yess, thanks that worked perfectly.

Do you have any idea how to change text wrapping on mobile in this section i thought that it might be the problem of font, because when i change font size only for mobile, text wrapping is still a problem, so i don't know how to fix it...

in caption section i used this code: "some caption" <br/> "some caption"

on computer everything looks exactly how i wanted, but the problem is mobile version.

Zrzut ekranu 2022-02-25 o 11.33.13.png

IMG_9569.PNG

It looks like you figured it out?

image.thumb.png.2cfffaf4b3422c29989ade45415dbd5a.png

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.