kindandbrave Posted May 27, 2020 Share Posted May 27, 2020 Site URL: https://www.bethlehemsynagogue.org/photos-archived Hi there everyone! Who's excited!? Squarespace made it possible to display captions on gallery pages! Woohoo! Wondering if anyone knows how to change the styling of gallery captions. Specifically the font and font size, but would also love to know how to change positioning, etc. Thank you in advance! RadiusVision and Kate 2 Link to comment
tuanphan Posted May 28, 2020 Share Posted May 28, 2020 Which position? Can you describe in detail. This code will move text over images (overlay) figcaption.gallery-caption.gallery-caption-grid-masonry { position: absolute; bottom: 0; background: rgba(0,0,0,0.5); color: white; left: 0; text-align: center; } kindandbrave 1 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
Guest Posted May 28, 2020 Share Posted May 28, 2020 (edited) I think she wants to center the captions in relation to each image inside the gallery. At least this is what I've been wanting to do for a couple of days. Using tuanphan code, I managed to increase the caption's size and its weight, but I still can't centralize it. Text-align: center did not work for me. figcaption.gallery-caption.gallery-caption-grid-simple { p { font-size: 110%; font-weight: 500; } } Edited May 28, 2020 by jhmarsolla Link to comment
kindandbrave Posted May 29, 2020 Author Share Posted May 29, 2020 @tuanphan @jhmarsolla Thanks for your help, y'all. I'm personally trying to center it, which I was able to do with your help. But the biggest thing I'm trying to do is switch the font family to the following. When I add it into your code, nothing happens. Would it need a separate callout? font-family: ltc-bodoni-175 !important; font-family: ltc-bodoni-175; font-weight: 500; font-style: normal; letter-spacing: 0em; text-transform: none; Link to comment
Guest Posted May 29, 2020 Share Posted May 29, 2020 1 hour ago, kindandbrave said: @tuanphan @jhmarsolla Thanks for your help, y'all. I'm personally trying to center it, which I was able to do with your help. But the biggest thing I'm trying to do is switch the font family to the following. When I add it into your code, nothing happens. Would it need a separate callout? font-family: ltc-bodoni-175 !important; font-family: ltc-bodoni-175; font-weight: 500; font-style: normal; letter-spacing: 0em; text-transform: none; Can you share how you managed to center the captions? I haven't been able to do that yet. Link to comment
kindandbrave Posted May 29, 2020 Author Share Posted May 29, 2020 @jhmarsolla That !important; tag isn't overriding the normal gallery caption text. Below is the code to center. figcaption.gallery-caption.gallery-caption-grid-masonry { position: absolute; text-align: center; } Link to comment
Guest Posted May 30, 2020 Share Posted May 30, 2020 Thanks @kindandbrave! That helped a lot. Link to comment
kindandbrave Posted May 30, 2020 Author Share Posted May 30, 2020 Anyone know how to switch the font family to LTC-Bodoni-175? When I add it into the codes listed above, nothing happens. Would it need a separate call-out? Link to comment
Solution tuanphan Posted May 31, 2020 Solution Share Posted May 31, 2020 if the font exist, this code should work p.gallery-caption-content { font-family: LTC-Bodoni-175 !important; } efranken, SteveBarrett and SShepherd 2 1 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
RyanDejaegher Posted June 11, 2020 Share Posted June 11, 2020 @kindandbrave do you have this font added to your site? Do you have the font file or are you using something like Adobe Fonts? Philadelphia, PA 👉 Squarespace Tutorials Chat/Message on FB Messenger for quickest response: https://m.me/dejaegherryan Link to comment
kindandbrave Posted June 15, 2020 Author Share Posted June 15, 2020 LTC-Bodoni-175 is a font already supported within the Squarespace Design panels. Link to comment
jonongec Posted November 16, 2020 Share Posted November 16, 2020 @tuanphan how do you make the text in the center of the image? currently it's at the bottom of the image and I would like it totally centered (up and down, left and right) Link to comment
tuanphan Posted November 21, 2020 Share Posted November 21, 2020 On 11/16/2020 at 4:44 PM, jonongec said: @tuanphan how do you make the text in the center of the image? currently it's at the bottom of the image and I would like it totally centered (up and down, left and right) Can you share link to page where you use gallery? 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
jonongec Posted November 26, 2020 Share Posted November 26, 2020 https://www.jonathanong.com/ Currently I'm using this code } figcaption.gallery-caption.gallery-caption-grid-strips { position: absolute; top: 42%; left: 50%; bottom: 0; background: rgba(0,0,0,0.0); color: white; left: 0; text-align: center; } p.gallery-caption-content { font-size: 120% !important; } I'm finding the captions sometimes centered, sometimes not. Also top : 42% seems more centered than 50% for some reason. Basically I just want the caption in the absolute center of the image. And also if you have code for making the whole image and caption to be able to be clicked through. Currently you can't click on the caption but can click on the rest of the photo. efranken and MehdiNih 1 1 Link to comment
WKIC Posted November 28, 2020 Share Posted November 28, 2020 May I know where should I enter the codes? I need this too. Thank you. Link to comment
tuanphan Posted December 3, 2020 Share Posted December 3, 2020 On 11/28/2020 at 9:06 AM, WengKien-IC said: May I know where should I enter the codes? I need this too. Thank you. Design > Custom CSS 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
jonongec Posted December 9, 2020 Share Posted December 9, 2020 @tuanphan It seems like the captions are not always in the center. See bottom photo especially. https://www.jonathanong.com/stories Are you able to help me with the code? Also if you can help make the whole image + caption clickable, that would be great. Currently the area around the caption is not clickable. Link to comment
tuanphan Posted December 9, 2020 Share Posted December 9, 2020 I see center here... To make clickable, add to Design > Custom CSS figcaption { pointer-events: none; } 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
jonongec Posted December 10, 2020 Share Posted December 10, 2020 @tuanphan thanks, now the text is clickable 🙂 See screenshot for the text always not being in the center (see the bottom 2 landscape photos) Currently using this code - can you help me check if there's anything wrong? @media screen and (min-width: 640px) { h4 { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 auto; position: relative; right: 10px; } } figcaption.gallery-caption.gallery-caption-grid-strips { position: absolute; top: 42%; left: 50%; bottom: 0; background: rgba(0,0,0,0.0); color: white; left: 0; text-align: center; } p.gallery-caption-content { font-size: 120% !important; } figcaption { pointer-events: none; } Link to comment
tuanphan Posted December 12, 2020 Share Posted December 12, 2020 On 12/10/2020 at 4:03 PM, jonongec said: @tuanphan thanks, now the text is clickable 🙂 See screenshot for the text always not being in the center (see the bottom 2 landscape photos) Currently using this code - can you help me check if there's anything wrong? @media screen and (min-width: 640px) { h4 { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 auto; position: relative; right: 10px; } } figcaption.gallery-caption.gallery-caption-grid-strips { position: absolute; top: 42%; left: 50%; bottom: 0; background: rgba(0,0,0,0.0); color: white; left: 0; text-align: center; } p.gallery-caption-content { font-size: 120% !important; } figcaption { pointer-events: none; } Add this CSS figcaption.gallery-caption.gallery-caption-grid-strips { left: 50% !important; transform: translate(-50%); } 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
tuesdayroo Posted December 13, 2020 Share Posted December 13, 2020 Hi @tuanphan - I am also having issues with getting my descriptions on gallery centered - could you help please? https://grouse-chartreuse-cjcr.squarespace.com/#contact#contact It's the first orange section with the icons - you'll see that the captions are on the left. I have managed to change the font and size but I cannot get these centered. Any help would be massively appreciated! Thanks! Link to comment
tuanphan Posted December 15, 2020 Share Posted December 15, 2020 On 12/13/2020 at 11:45 PM, tuesdayroo said: Hi @tuanphan - I am also having issues with getting my descriptions on gallery centered - could you help please? https://grouse-chartreuse-cjcr.squarespace.com/#contact#contact It's the first orange section with the icons - you'll see that the captions are on the left. I have managed to change the font and size but I cannot get these centered. Any help would be massively appreciated! Thanks! Hi. Your site is private. Can you setup password & share url? 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
tuesdayroo Posted December 16, 2020 Share Posted December 16, 2020 Hi @tuanphan - thanks 🙂 https://grouse-chartreuse-cjcr.squarespace.com/config/settings/site-visibility Password is: Assemble Thanks Link to comment
tuanphan Posted December 17, 2020 Share Posted December 17, 2020 On 12/16/2020 at 9:36 PM, tuesdayroo said: Hi @tuanphan - thanks 🙂 https://grouse-chartreuse-cjcr.squarespace.com/config/settings/site-visibility Password is: Assemble Thanks Assemble Incorrect password 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
tuesdayroo Posted December 17, 2020 Share Posted December 17, 2020 Hi @tuanphan - sorry try the below: password: hello Thank you - appreciate your help! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment