Need help? Check out our Support site, then


Text colour of captions to photos

  1. suffolkpunchaustralia
    Member

    How can I ensure that the text colour of captions remains the choice that I made instead of reverting to black text as soon as it is published?

    On some of my captions where I have changed the text to brown, it has stayed, but not many.

    I do a save on the Edit page, I've tried saving it as a draft.. still keeps reverting back to black

    The blog I need help with is suffolkpunchaustralia.wordpress.com.

  2. We always need a link to your blog in order to answer technical questions. Please either paste it here, starting with http, or link your username to your blog on your Profile page, under Website.

  3. suffolkpunchaustralia
    Member

  4. suffolkpunchaustralia
    Member

    Hope I'm not being pushy, but any help with this would be appreciated.
    Many thanks

  5. If you go back and look after it has changed back to black, is the code still there or has it been stripped out?

  6. Can you paste the code that you're using to do that into this thread? Cheers :)

  7. In this case, the "caption" is not really a caption but formated text below the picture:

    <h5 style="text-align:center;"><span style="color:#993300;"><img class="aligncenter size-medium wp-image-125" title="Samford Jack head" src="http://suffolkpunchaustralia.files.wordpress.com/2009/07/samford-jack-head.jpg?w=300&h=200" alt="Samford Jack head" width="300" height="200" /><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, fantasy;line-height:19px;white-space:normal;font-size:13px;"> S</span>amford Jack, Founding Stallion of the modern day Australian Suffolk Punch</span></h5>

    The formatting appears to have been copied from somewhere else?

  8. Wow, messy too. The following is the proper way to write all that code.

    <img class="aligncenter size-medium wp-image-125" title="Samford Jack head" src="http://suffolkpunchaustralia.files.wordpress.com/2009/07/samford-jack-head.jpg?w=300&h=200" alt="Samford Jack head" width="300" height="200" />
    <h5 style="text-align:center;"><span style="color:#993300; font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, fantasy; line-height:19px; white-space:normal;font-size:13px;">Samford Jack, Founding Stallion of the modern day Australian Suffolk Punch</span></h5>
  9. I suspect it's related to copying formated text. This one is green "caption" text on the site, so not all of the code is here, but it's also messy:

    <h3 style="text-align:justify;">
    <div id="attachment_187" class="wp-caption aligncenter" style="width: 310px;"><img class="size-medium wp-image-187" title="P7190014" src="http://suffolkpunchaustralia.files.wordpress.com/2009/07/p71900141.jpg?w=300&h=225" alt="Ellie demonstrating the versatility of a draught mare; ridden as well as driven" width="300" height="225" />
    <p class="wp-caption-text">Ellie demonstrating the versatility of a draught mare; ridden as well as driven</p>
  10. They need to go to settings > writing and activate "WordPress should correct invalidly nested XHTML automatically" as that will fix most of the messy code in posts and pages.

  11. @suffolkpunchaustralia

    Captions on images can not be formatted (color, font, link, and so on). They are always black. If you insist on colored captions, the only way to do it now is to use tables.

    Also review how to upload images:
    http://faq.wordpress.com/2008/05/02/how-to-upload-images-screenshots/
    (The screen shots look different because that was made for an earlier version of WordPress, but the procedure is the same. Type your captions when you insert your images.)
    Or add captions via the media library:
    http://support.wordpress.com/media/

    Note that some of your captions, even though they appear normal, are pseudo captions. This one, for example:
    <div id="attachment_141" class="wp-caption aligncenter" style="width: 210px"><img class="size-medium wp-image-141" title="IMG_2691" src="http://suffolkpunchaustralia.files.wordpress.com/2009/07/img_2691.jpg?w=200&h=300" alt="And same part-bred foal at five months of age" width="200" height="300" /><p class="wp-caption-text">And same part-bred foal at five months of age</p></div>

  12. suffolkpunchaustralia
    Member

    Thank you all so much for your responses, and the thoughtfulness of those responses. Am feeling a bit overwhelmed as I am very new to all of this. I shall take it slowly, however, and gradually work through. My sincere thanks again.

  13. @suffolkpunchaustralia,

    We volunteers are happy to be of help. (well, really, I can speak for myself only, but tsp and raincoaster answer more questions than I do but I assume they are of a similar opinion?).

    Here is a tip: to find this thread again, click on your name at the top of the forum to see questions/comments you have asked before. (or click on the word "member" under other peoples' names to see what they have written here)

    Feel free to ask more questions!

    Tess

Topic Closed

This topic has been closed to new replies.

About this Topic