Jump to content

How do i change the gallery caption font and size ?

Recommended Posts

42 minutes ago, HollidayHelp said:

I can't find anywhere where i change the gallery caption size/font ?

Also what would the CCS be to create two lines for the captions?

Screen Shot 2023-01-05 at 9.36.04 AM.png

Can you share your site with the protected password so I can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

@font-face { font-family: 'Sig';
src: url('https://static1.squarespace.com/static/5f21c44a4c48ab1c1714aa45/t/6352d8c2f6d90b1fae6dc0bd/1666373826731/Latinotype+-+Arida+Regular+DEMO.otf');
}  

#site-title {font-family: 'Sig'; src:local('Sig'), url(http://static1.squarespace.com/static/5683f9f1cbced6d45d92de3d/t/56855928e0327c02e3702e57/1451579688037/Example.otf)}

//Gallery Caption CSS
.gallery-caption p:first-line  {font-weight:bold}
p {
  font-size: 0.2rem
}


.gallery-section .gallery-caption {
  background: ;
  padding: 1px 0px;}

.gallery-caption p {white-space:pre}

.header-nav-folder-content {
  background: transparent !important;
}

// Button //
.header-actions-action .btn {
}

.header-actions-action .btn {
    padding: 0px 0px;
    background: Transparent !important;
    border-color: violet !important;
}

Link to comment
On 1/6/2023 at 1:43 AM, HollidayHelp said:

www.pippaholliday.co.uk

Screen Shot 2023-01-05 at 1.41.23 PM.png

#1. To change font style, add this CSS

p.gallery-caption-content {
    font-size: 30px !important;
    color: #f1f;
    font-family: 'Sig' !important;
}

#2. To add 2 lines, which plan do/will you use: Personal, Business, Commerce? Each plan will have a different code

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
  • 1 year later...

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.