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. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Sunnyday 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