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


Circle Member
  • Posts

  • Joined

  • Last visited

  • Days Won


brandon last won the day on August 20 2018

brandon had the most liked content!

Personal Information

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Unfortunately, no, except to attempt to individually rewrite all of the scripts, styles, and meta manually by referencing what's rendered client-side. I've heard of a couple people actually pulling that off, but that it likely requires constant vigilance/maintenance to make sure things don't break moving forward.
  2. Correct, this will occur with any value that includes a word that Squarespace's LESS compiler recognizes and attempts to compile. In addition to those mentioned, "calc" will (mis)behave similarly. In such cases, one must escape it using the tilde syntax.
  3. Something like this should work: .gallery-lightbox-item img { width: 100% !important; object-fit: contain; }
  4. @noemipossible11 and @douglasmcg: I'll try to come up with something for you in the next week or so. I've got some ideas. @lisagravy: Can you provide a link to the page in question?
  5. @gabmartinez7: Try adding the JS via a markdown block in the footer of your site.
  6. Hi @totaljoy. It looks like that gallery block was added using a third-party extension and not using 7.1 galleries, so this thread and the code here won't apply. I'd recommend contacting the maker.
  7. On that page, it looks to me like captions are showing, not filenames @gabmartinez7. It seems you got that sorted. As to the overlapping of the description over the image, that's a matter of adjusting the CSS. I'd use a combination of font-size, line-height, and flexbox to get things looking better. I might also override the overall height of that gallery (currently set at 75vh). If that doesn't give you enough to get things the way you want, send me a direct message.
  8. Hi @JanelleNine. Here's a bit of code you can use to get you started. If you add other galleries to the the site and only want to target this one, you'll want to adapt the CSS a bit. .gallery-fullscreen-slideshow { height: auto !important; } .gallery-fullscreen-slideshow-list { max-height: 100vh; } Let me know how it goes for you. EDIT 7/22/2020: In some cases, for mobile, you may also need something like @media screen and (max-width: 767px) { .gallery-fullscreen-slideshow[data-height="L"] { height: auto !important; } .gallery-fullscreen-slideshow-item img { object-fit: contain !important; } } -Brandon
  9. No problem @Charlest93. Don't forget to post a like/thank on helpful posts.
  10. Ah, sorry about @Charlest93. I forgot you had already sent a link earlier in this post. Also, your English is much better than my French! What you want can be accomplished with CSS alone. However, it does require an understanding of it, and being comfortable using your browser's web inspector to identify elements and get them looking like you want. I've written some additional CSS you can add that should help you get a start on it. However, while you can certainly add the following CSS after what you already have, it'd be better to review it and edit your existing CSS to minimize overlap. @media screen and (max-width: 767px) { .gallery-grid-item { padding-bottom: 0; margin-bottom: 30px; } .gallery-item-description { padding: 0 !important; top: 50%; transform: translateY(-50%); bottom: inherit !important; font-size: 1em; } } Let me know how that works for you.
  11. @gabmartinez7: If you're seeing a filename, that is likely because you have not entered description text. See the third bullet point under "JavaScript" in the original answer. However, if that's not the cause, then could you provide a link to the page in question? @Charlest93: I'm not sure what you mean by "get the same codes". Having said that, I did take another look at the CSS for the "Slideshow" gallery type where thumbnails are displayed, and I realized that things weren't displaying quite right on mobile. So I made a small adjustment. You could try using the updated CSS in my original post. If that doesn't work, can you provide a link to the page in question?
  12. @Charlest93 : I see you figured it out. Also, if a post helps you out, don't forget to post a like/thanks on it.
  13. Hi @Charlest93. Here's what I think you're looking for: .gallery-item-description { text-align: center; pointer-events: none; }
  14. This is an update to let you know that I've added just a couple lines of CSS to fix the issue with the lightbox caption delay/lag issue. The lines are added at the end of the CSS in the original post. They are: transition: opacity 0.1s ease-out; .gallery-lightbox-item[data-in=false] .gallery-item-description { opacity: 0; } Special note to those who mentioned the issue: @kinapark , @IvanOB , @ed.design , @JohnS123
  15. Glad to hear it @JanBrick and @luxpacifica. Don't forget to like the original post if you didn't already.
  • Create New...