Jump to content

mobile gallery thumbnails overwriting captions

Recommended Posts

  • Replies 6
  • Views 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

6 hours ago, Avildsen said:

Thanks for checking Tuan! yes, i'm trying different things... current issue is that longer titles cut-off on mobile...

example - paintings, the caption for the fifth painting gets cutoff in mobile view... the cutoff happens in the word rain

Tried but it is fine, can you provide a screenshot?

image.png.b548a9cfd95d52f61e57ee416d2e0a93.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

hi Tuan - yes, it resolved because I am using a smaller size image, and smaller fonts, and now the caption doesn't run over. thanks for checking.

can I ask a little different question, or should I put this in a new request? if that's better just let me know...

new request - is it possible to put a table in the caption, so that the 3 components of the caption (title / size / materials) could be laid out on the same line?  like "size left aligned", "title centered", "materials right aligned"? example of this is here https://www.dennisdoheny.com/gallery.html

thanks Peter

Link to comment

Change your caption, use this syntax instead of raw text

<em>Lake of the Woods</em><em>oil on board</em><em>11" x 14"</em>

Then add this code to Website Tools (under Not Linked) > Custom CSS

p.gallery-caption-content em {
    font-style: normal;
}
p.gallery-caption-content {
    display: flex;
    justify-content: space-between;
}

image.thumb.png.0bd0bacd94250ef7bb37893acac2b417.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
  • 5 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.