dombomb Posted May 14, 2021 Posted May 14, 2021 Site URL: http://www.domtetro.com Hello lovely Squarespace people, I've been attempting different codes to change a single word style in the .Index-gallery-item-content-heading, but haven't figured it out yet so here we are. How can I make the word "conscious" italicized while leaving the rest of the body text normal? Is this even possible? 🤣 Many many thanks xx D This is where we're currently at 👆
Beyondspace Posted May 15, 2021 Posted May 15, 2021 16 hours ago, dombomb said: Site URL: http://www.domtetro.com Hello lovely Squarespace people, I've been attempting different codes to change a single word style in the .Index-gallery-item-content-heading, but haven't figured it out yet so here we are. How can I make the word "conscious" italicized while leaving the rest of the body text normal? Is this even possible? 🤣 Many many thanks xx D This is where we're currently at 👆 Can you place html into the title, BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
helloVlad Posted May 15, 2021 Posted May 15, 2021 Hello Dom, You can style different words in a sentence by making them bold or italic and styling them further with CSS .Index-gallery-item-content-heading h2 { font-style: normal; } .Index-gallery-item-content-heading h2 italic { font-style: italic; }
dombomb Posted May 16, 2021 Author Posted May 16, 2021 18 hours ago, bangank36 said: Can you place html into the title, Oooooo that's right! Didn't think of that. 🤣 For anyone following, here's the solution to the above. Open up the gallery where the text is you want to change. Selected the photo in the gallery where the title is applied. In the Title field, find the word you want to change and enter the code below: <span style="font-style:italic"> conscious </span> } Hope this helps someone else! xx
dombomb Posted May 16, 2021 Author Posted May 16, 2021 Thank you @bangank36 and @helloVlad for your help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.