Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
keon

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

Question

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

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS

div#block-yui_3_17_2_1_1594977105705_12297 .image-slide-title {
    overflow: visible !important;
    white-space: initial !important;
    line-height: 18px;
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
Posted (edited)

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

Edited by JGOG

Share this post


Link to post
  • 0
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?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...