walevitt Posted February 14, 2022 Posted February 14, 2022 Site URL: http://creativepartnersproductions.com/%C2%A0 I used the code provided here to create a second line of text under the Gallery Image caption:https://forum.squarespace.com/topic/157514-gallery-grid-caption-format/ (the attached image is how it should look) My website: http://creativepartnersproductions.com/ When I do this, and test in Safari or mobile, at first the caption text does not display at all, and once the page is reloaded, it displays all in bold (instead of the lower line displaying in not bold but in italics). In Chrome, it all works fine. I think it has to do with the font loading in Safari (similar to this: https://forum.squarespace.com/topic/202722-custom-font-not-displaying-in-safari/) Can anyone provide the CSS updates I need to make so that this works as normal in Safari and on mobile? My current custom CSS is pasted below. Thank you — any help is much appreciated!! --- Here is all my current CSS: --- header { display: none !important; } /* image 1 */ .sqs-gallery-block-grid .slide:nth-child(1) .image-slide-title:after { content: "Sponsor"; display: block; font-size: 15px; font-family: Josefin sans; font-style: italic; margin-top: -5px; } /* image 2 */ .sqs-gallery-block-grid .slide:nth-child(2) .image-slide-title:after { content: "Co-Producer"; display: block; font-size: 15px; font-family: Josefin sans; font-style: italic; margin-top: -5px; } /* image 3 */ .sqs-gallery-block-grid .slide:nth-child(3) .image-slide-title:after { content: "Co-Producer"; display: block; font-size: 15px; font-family: Josefin sans; font-style: italic; margin-top: -5px; } /*First line bold */ .image-slide-title:first-line { font-weight: bold; }
tuanphan Posted February 17, 2022 Posted February 17, 2022 Try remove font-family code & check again font-family: Josefin sans; 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!)
walevitt Posted February 22, 2022 Author Posted February 22, 2022 @tuanphan That did not work unfortunately -- still having the same issue. Any other suggestions as to how this might be solved? Many thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment