• Resolved PalmierProductions

    (@palmierproductions)


    Captions for images appear only when the image is inserted into a blog post and not when the image is a “featured” image. See an example from my blog here:

    https://www.palmierproductions.com/

    I would like the caption (which will contain copyright info) to appear with the featured image, as I do not want to clutter my posts with two of the same image in order to display the copyright information for the image.

    Thank you in advance for assistance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks!

    Is it necessary that the image credit be positioned right beneath the image? This is possible, but would take some additional customization.

    Perhaps a simpler solution would be adding the image credit link at the bottom of the post. It could be styled easily to look different from the surrounding text.

    Let me know what you think is best, and we’ll move forward with a solution.

    Thread Starter PalmierProductions

    (@palmierproductions)

    Hi Ben,

    That’s a perfectly reasonable solution. Thank you. (Love Tracks, BTW, and love all of your help.)

    Yours sincerely,
    Mary

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome, thanks for the kind words ??

    Switching the post editor to “Text” mode will allow you to add a paragraph like this to the end of the post:

    <p class=”image-credit”>Here is the image credit text</p>

    Then, in the “Custom CSS” section in the Customizer, the following CSS would make that specific paragraph smaller and lighter colored:

    .image-credit {
      color: #ccc;
      font-size: 13px;
    }

    Now, in every post you can add an “image-credit” paragraph, and it will automatically be styled appropriately.

    Thread Starter PalmierProductions

    (@palmierproductions)

    Thanks Ben. That worked. One question that occurred to me:Are custom css entries lost in upgrades? Is it better to add it as a “child theme”?

    Theme Author Ben Sibley

    (@bensibley)

    Sure, the Custom CSS entries are “update proof”, so they will not be lost when you update to newer versions of Tracks or add premium upgrades.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display caption with Featured Image’ is closed to new replies.