• Resolved c3100w

    (@c3100w)


    Hi, how can I set a caption for the main photo in a published post? I use the standard Neve version, and I didn’t find such an option. I’m talking about the photo’s metadata – e.g. PHOTO BY XXX.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey there!

    Thank you for using Neve and for reaching out to us!

    To clarify, it sounds like you’re referring to the featured image. If that’s the case, the only way to set a caption for that image is by going to the Media Library, selecting the specific photo, and adding a caption in the image’s attributes.

    Let me know if you need any further assistance!

    Kind regards,

    Mara

    Thread Starter c3100w

    (@c3100w)

    I have a caption set for each photo, but it doesn’t display on the site.

    Hey @c3100w,

    Thank you for explaining exactly what is the desired behaviour!

    If you want to display the caption of the featured image you can add the code from this link https://gist.github.com/MarinescuLucia/167522054bab565fea2739cdb1527c9b.

    Please keep in mind that we encourage every user to set up a child theme so that they won’t encounter any future problems. You can read more about this here https://docs.themeisle.com/article/985-how-to-create-a-child-theme-for-neve.

    Kind regards,

    Mara

    Thread Starter c3100w

    (@c3100w)

    Thank you, the code works, but now there is too much free space between the image and the header (screen 1). Is there any code that will allow me to place a caption under the image itself, to make it look like in the article? (screen 2)

    Screen 1:

    Screen 2:

    Hi @c3100w,

    Thank you for the update, I am glad that you succeeded in displaying the caption!

    To fix the space that is surrounding the caption you can add this snippet of code into the Additional CSS tab:

    .image-caption{
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    }

    Please note that 0 can be changed for any value that suits your needs.

    Kind regards,

    Mara

    • This reply was modified 1 month, 3 weeks ago by mara3.
    • This reply was modified 1 month, 3 weeks ago by mara3.
    Thread Starter c3100w

    (@c3100w)

    Thanks a lot! Now the theme looks as it should, I am very pleased. Best regards.

    Hi @c3100w,

    I am glad to hear that I was able to help you with this information!

    I’m always striving to improve my ability to assist customers, and your feedback is incredibly valuable. If you had a positive experience with our interaction so far, would you be willing to leave a review about it here?

    Sharing your thoughts helps others know what to expect when they contact us.

    Thanks again for your time and business!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.