sbickley Posted January 27, 2023 Share Posted January 27, 2023 Has no one found a way to format text in captions in the gallery section? I need to italicize titles for art work. I see others have added code to make it work but surely this must be an issue for any artist using the gallery section and being a coder shouldn't be a requirement. Link to comment
tuanphan Posted January 28, 2023 Share Posted January 28, 2023 Add to Design > Custom CSS .gallery-caption *, .gallery-caption { font-style: italic !important; } 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
sbickley Posted January 28, 2023 Author Share Posted January 28, 2023 Thank you. I added this and it italicized the whole caption. I just need to the title italicized. Link to comment
Solution iamdavehart Posted January 28, 2023 Solution Share Posted January 28, 2023 The caption / description in a 7.1 gallery section will accept some basic HTML tags, so you can just wrap the titles in italics tags <i>Spring Beauty</i>, 2022, Painted Aluminium, 51x48 inches Dave Hart. Software/Technology Consultant living in London. buymeacoffee Link to comment
sbickley Posted January 28, 2023 Author Share Posted January 28, 2023 That's it. Thank you so much. Link to comment
paul2009 Posted January 28, 2023 Share Posted January 28, 2023 3 hours ago, iamdavehart said: The caption / description in a 7.1 gallery section will accept some basic HTML tags, so you can just wrap the titles in italics tags @sbickley In case you aren't aware, using HTML in titles and descriptions is not a documented feature. Squarespace are steadily tightening up on flaws and loopholes that allow HTML so this workaround may stop working at any time and display the tags instead. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
SST Posted December 15, 2023 Share Posted December 15, 2023 Hi Paul, could you recommend another option to achieve this look and feel with CSS? Much appreciated. 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