Is there a way to format the image text descriptions of gallery images - even if I could italicise a few words would be good.
Thanks
Is there a way to format the image text descriptions of gallery images - even if I could italicise a few words would be good.
Thanks
Today is your lucky day.
The description field can take any html you throw at it.
Generally, the accepted way to italicize is with em tags.
<em>This text will be italicized</em>
This text will be italicized
These are the same tags that pop up when you click to italicize the code right here in the comments. Because of that, I don't know how my post will end up being formatted. It should be code on top, with an example underneath.
You can also include links:
<a href="http://mysite.com/dogs">My Dogs</a>
My Dogs
Bold:
<strong>Bold Text</strong>
Bold Text
Or pretty much any other html.
The only tricky part is typing it all in that small box. If space is getting tight, you can click and drag the bottom right corner of the description box to make it bigger.
Thanks for that :)
Sounded good, but after several attemps it didn't work. See http://www.mervynbeamishartist.com/gallery/
First picture description reads (withou the "):
" Bold Text Shall We Dance by Mervyn Beamish - oils on stretched canvas, 40 x 75 cm (16 x 30 inches) - located Perth, Western Australia.
A little firtatious fun. The canvas has been sitting in the back room for a couple of years so I figured it was time to finish it."
OK - I think I've worked it out - if I specify a specific style like <h1> text</h1> it works so if I set up specific styles in my child CSS I can do it that way :)
You must log in to post.