Jump to content

Making gallery grid image titles go onto a new line instead of hiding it

Recommended Posts

Site URL: https://sprout-tuna-swnf.squarespace.com/presentation-creation

I've added a grid of small images with titles underneath them. The problem is hen the title is too long, it goes into an ellipses and only shows part of it. I tried taking out the "overflow: hidden" rule, but then the titles just overlap onto one another. What I want is for the titles to go onto another line if they don't fit on one. Is that possible?

The page is https://sprout-tuna-swnf.squarespace.com/presentation-creation

tab 2.PNG

Link to comment
On 7/23/2020 at 3:33 AM, JGOG said:

Hi Tuanphan,

 I have the same issue, but when I enter the code above I am getting a syntax error note. Any suggestions?  my titles are at 12px 

 

Screen Shot 2020-07-22 at 4.33.06 PM.png

Can you post all code here & share link to your site?

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
  • 4 months later...
  • 5 months later...

Hi there, I have the same problem but the code suggestions above aren't working for me. This is my site: 

https://www.zeitgeistagency.com/

On the home page I've used a gallery grid for the "SIGNED & COMING SOON..." section and would like the titles to run over two lines. I'd also like part of the titles to be italicised, eg. "Courtney Act, It's All An Act

 

 

 

Screen Shot 2021-06-02 at 3.03.59 pm.png

Link to comment
On 6/2/2021 at 12:05 PM, michellemcbalogh said:

Hi there, I have the same problem but the code suggestions above aren't working for me. This is my site: 

https://www.zeitgeistagency.com/

On the home page I've used a gallery grid for the "SIGNED & COMING SOON..." section and would like the titles to run over two lines. I'd also like part of the titles to be italicised, eg. "Courtney Act, It's All An Act

 

 

 

Screen Shot 2021-06-02 at 3.03.59 pm.png

Try editing title to this

Quote

Courtney Act, <p><em>It's All An Act</em></p>

If it doesn't work, keep the code & let me know. WE can check easier

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
  • 2 years later...
On 3/26/2024 at 2:22 AM, csinnova said:

Hi, I also have the same problem. This is my site: 

https://www.innovasleep.com

 

Screenshot 2024-03-25 at 3.24.37 PM.png

You can use this code to Website > Website Tools > Custom CSS

.image-slide-title {
    text-overflow: initial !important;
    white-space: initial !important;
}

image.png.05e6806824d8ba796f6dab80d932ed7c.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
  • 3 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.