Jump to content

Custom CSS to resize Portfolio Grid title to fit on one line?

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

14 hours ago, Enzoxs said:

Site URL: https://www.enzoxsvisuals.co.uk/

Hi, I was wondering if there's a way to resize portfolio simple titles to fit on one line? It's really annoying me that I get widows on their own lines on different devices.

Thanks in advance, 

Enzo

I check that they are fine at the moment. Have you figured it out?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
2 minutes ago, bangank36 said:

I check that they are fine at the moment. Have you figured it out?

When on a mobile device some of the titles spill onto another line, increasing the spacing between the photos. Also, is there a way to remove the tiles when viewing on a mobile device?

Link to comment
  • Solution
On 8/2/2022 at 10:00 PM, Enzoxs said:

When on a mobile device some of the titles spill onto another line, increasing the spacing between the photos. Also, is there a way to remove the tiles when viewing on a mobile device?

How about cutting text to ....? Like this

Add to Design > Custom CSS

@media screen and (max-width:767px) {
h3.portfolio-title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
}

image.thumb.png.c9f2876351aa622d5201af68746bb2ec.png

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
  • 2 weeks 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.